Example #1
0
 public override void Player1Fire()
 {
     if (NumPlayerShots() < 5 && respawnTicks == 0)
     {
         PlayerShot ps = new PlayerShot(player.X, player.Y, player.SpriteDirection);
         objects.Add(ps);
         player.Fire();
     }
 }