示例#1
0
文件: Bomb.cs 项目: dsigmat/BomberMan
 public Bomb(PictureBox[,] _mapPic, Point _bombPlace, deBabah _deBabah)
 {
     bombPlace = _bombPlace;
     mapPic    = _mapPic;
     CreateTime();
     timer.Enabled = true;
     baBah         = _deBabah;
 }
示例#2
0
        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);
        }