示例#1
0
        public void DropBomb(BombCollection bombs)
        {
            var bombX = X + (Width / 2);
            var bombY = Y + Height;
            var bomb  = new Bomb(bombX, bombY, bombs);

            bomb.DisplayOn(_canvas);
        }
示例#2
0
        public void Launch(Bombs bombs)
        {
            Bomb bomb = new Bomb(X + (Width / 2), Y + Height, bombs);

            bomb.DisplayOn(canvas);
        }