public ItemMap(GridMap gameMap)
            : base("map")
        {
            GridMap = gameMap;
            Map = new char[gameMap.Width, gameMap.Height];

            for (int i = 0; i < Map.GetLength(0); i++)
            {
                for (int j = 0; j < Map.GetLength(1); j++)
                {
                    Map[i, j] = ' ';
                }
            }
        }
        public static GridMap Generate(Random random, int width, int height)
        {
            GridMap map = new GridMap(width, height);

            for (int y = 0; y < map.Height; y++)
            {
                for (int x = 0; x < map.Width; x++)
                {
                    map.Tiles[x, y] = new GridTile();
                    map.Tiles[x, y].Travelable = random.Next(4) > 0;
                }
            }

            map.EntryNode = map.Tiles[random.Next(width), random.Next(height)];
            ((GridTile)map.EntryNode).Travelable = true;

            return map;
        }