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