コード例 #1
0
 public MapGen(int width, int height,
               int maxRooms, int roomMaxSize, int roomMinSize, int mapLevel)
 {
     _width       = width;
     _height      = height;
     _maxRooms    = maxRooms;
     _roomMaxSize = roomMaxSize;
     _roomMinSize = roomMinSize;
     _map         = new DungeonMap();
     iterator     = _map.CreateIterator();
 }