示例#1
0
        public void Destroy(GameState gameState, Player player = null)
        {
            TileDestroyed?.Invoke(this, player);

            Point     point     = new Point(GridPos.X, GridPos.Y);
            Explosion explosion = new Explosion(Utility.R.Next(), radius, point, Owner, gameState);

            gameState.AddEntity(explosion);
        }
示例#2
0
 public void Destroy(GameState gameState, Player player = null)
 {
     TileDestroyed?.Invoke(this, player);
 }