public static String GetName(this HexTerrainTypes type) { switch (type) { case HexTerrainTypes.Flat: return("Flat"); case HexTerrainTypes.Hill: return("Hill"); case HexTerrainTypes.Lake: return("Lake"); case HexTerrainTypes.Road: return("Road"); case HexTerrainTypes.Forest: return("Forest"); default: return("Flat"); } }
public HexCell() { _terrainType = HexTerrainTypes.Flat; _cellID = Guid.NewGuid(); }