public double GetSpread() { //returns a random integer that will be the offset of the bullet direction return r.Next((int)-spread / 2, (int)spread / 2); } public bool CheckAmmo() {