internal TileArea(String name) { tile = Tile.getTile(name); // TODO this needs to know where it is?? // minimize storage, lots of these. }
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; } }