예제 #1
0
        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);
        }
예제 #2
0
        public Tile GetTile(PitTileData t)
        {
            SetMinimapTile(Color.Orange);

            return(new Pit(tilePosition));
        }