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); }
public void Destroy(GameState gameState, Player player = null) { TileDestroyed?.Invoke(this, player); }