public Bomb(PictureBox[,] _mapPic, Point _bombPlace, deBabah _deBabah) { bombPlace = _bombPlace; mapPic = _mapPic; CreateTime(); timer.Enabled = true; baBah = _deBabah; }
public bool PutBomb(PictureBox[,] mapPic, deBabah _deBabah) { if (bombs.Count >= kolBomb) { return(false); } Bomb bomb = new Bomb(mapPic, MyNowPoint(), _deBabah); bombs.Add(bomb); return(true); }