public Tile GetTile(PitTileData t) { SetMinimapTile(Color.Orange); var pitInitializer = new PitInitializer { Imaginary = t.Imaginary, Invisible = t.Invisible, IsOpen = t.IsOpen }; var res = new Pit(pitInitializer); sidesCreator.SetupSidesAsync(pitInitializer, currentGridPosition, res); res.Renderer = builder.Factories.RenderersSource.GetPitTileRenderer(res); initializer = pitInitializer; return(res); }
public Tile GetTile(PitTileData t) { SetMinimapTile(Color.Orange); return(new Pit(tilePosition)); }