Пример #1
0
        public RoomMeta(int width, int height)
        {
            _width = width;
            _height = height;

            _floorFactory = CaveFloorTextureFactory.Instance;
            _random = RandomFactory.Instance;

            _map = new MapList<ComplexTerrainEntity>(_width, _height);
        }
Пример #2
0
 public CaveGenerator(ContentManager Content)
 {
     _content = Content;
     _floorFactory = CaveFloorTextureFactory.Instance;
     _random = RandomFactory.Instance;
 }