Esempio n. 1
0
        public static void BombMovement(BombShot bomb)
        {
            int x = bomb.position.X;
            int y = bomb.position.Y;

            if (Form1.blockArr[x, y] == "hardblock")
            {
                Explode.explosions.Add(new Explode(4, 50, (bomb.position.X + Explode.smerDictX[bomb.direction]) * Form1.sizeX, (bomb.position.Y + Explode.smerDictY[bomb.direction]) * Form1.sizeY, Color.DarkOrange));
                Form1.blockArr[x, y] = "";
                Form1.blockPointList.Remove(bomb.position);
                RemoveBomb(bomb);
            }
        }
Esempio n. 2
0
 public static void RemoveBomb(BombShot bomb)
 {
     bombyShotList.Remove(bomb);
 }