Esempio n. 1
0
File: Map.cs Progetto: 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>();
        }