예제 #1
0
파일: Map.cs 프로젝트: bgudna/urukx
        public static GoRogue.IDGenerator IDGenerator = new GoRogue.IDGenerator(); // A static IDGenerator that all Entities can access

        //Build a new map with a specified width and height
        public Map(int width, int height)
        {
            _width   = width;
            _height  = height;
            Tiles    = new Tiles[width * height];
            Entities = new GoRogue.MultiSpatialMap <Entity>();
        }