public void SetEntity(GridSystem grid, TileEntity entity) { Entity = entity; Entity.ParentTile = this; Entity.OnEntityProduced(grid); }