Пример #1
12
 protected override void upgrade(Player player)
 {
     Bomb b = new Bomb(map, player, "Images/bomb1");
     b.Initialize();
     b.LoadContent();
     player.AddBomb(b);
 }
Пример #2
0
        protected override void upgrade(Player player)
        {
            Bomb b = new Bomb(map, player, "Images/bomb1");

            b.Initialize();
            b.LoadContent();
            player.AddBomb(b);
        }
Пример #3
0
 public override void Remove()
 {
     base.Remove();
     owner.AddBomb(this);             // return this bomb to the player
 }