Exemple #1
0
        internal TileArea(String name)
        {
            tile = Tile.getTile(name);

            // TODO this needs to know where it is??
            // minimize storage, lots of these.
        }
Exemple #2
0
 public static Tile getTile(String name){
     if (bm_set.ContainsKey(name))
     {
         return bm_set[name];
     }
     else
     {
         Tile t = new Tile(name);
         bm_set[name] = t;
         return t;
     }
 }