Esempio n. 1
0
        public Tiles getMountain()
        {
            Tiles t;

            if (!mapTiles.ContainsKey("mountain"))
            {
                t = new MountainImpl();
                mapTiles.Add("mountain", t);
            }
            else
            {
                t = mapTiles["mountain"];
            }
            return t;
        }
Esempio n. 2
0
        public Tiles getMountain()
        {
            Tiles t;

            if (!mapTiles.ContainsKey("mountain"))
            {
                t = new MountainImpl();
                mapTiles.Add("mountain", t);
            }
            else
            {
                t = mapTiles["mountain"];
            }
            return(t);
        }