Example #1
0
        public Tiles getPlain()
        {
            Tiles t;

            if (!mapTiles.ContainsKey("plain"))
            {
                t = new PlainImpl();
                mapTiles.Add("plain", t);
            }
            else
            {
                t = mapTiles["plain"];
            }
            return t;
        }
Example #2
0
        public Tiles getPlain()
        {
            Tiles t;

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