public Tile GetTile(TrickTileData t) { SetMinimapTile(Color.Green); var trickTileInitializer = new WallIlusionInitializer { Imaginary = t.IsImaginary, Open = t.IsOpen, RandomDecoration = t.RandomDecoration, }; var res = new WallIlusion(trickTileInitializer); SetupWallIllusionSidesAsync(trickTileInitializer, t.RandomDecoration, res); res.Renderer = builder.Factories.RenderersSource.GetWallIllusionTileRenderer(res, builder.WallTexture); initializer = trickTileInitializer; return(res); }
public Tile GetTile(TrickTileData t) { SetMinimapTile(Color.Green); return(new WallIlusion(tilePosition, t.IsImaginary, t.IsOpen)); }