private bool CanShoot() { System.DateTime now = System.DateTime.Now; System.TimeSpan ts = now - lastShootTime; return(ts.TotalMilliseconds > TIME_BETWEEN_SHOTS && bulletManager.BulletsLeft() >= BULLETS_PER_SHOT); }