void CreateBullet() { //checks for space bar input if (input.Action()) { AddBullet(); } }
void CreateBullet() { //checks for space bar input if (input.Action() && CanShoot()) { Shoot(); } }
void CreateBullet() { //checks for space bar input if (input.Action()) { AddBullet(); } }
void CreateBullet() { //checks for space bar input if (input.Action() && CanShoot()) { Shoot(); } }