public Hex(Enums.TerrainType terrain, Enums.HexType hexType) : base(terrain) { this.vertices = new List <Vertex>(); if (terrain == Enums.TerrainType.WATER) { this.hexType = Enums.HexType.WATER; } else if (hexType == Enums.HexType.WATER) { this.hexType = Enums.HexType.DESERT; } else { this.hexType = hexType; } }
public BoardPiece(Enums.TerrainType terrain) { this.terrainType = terrain; }
public Vertex(Enums.TerrainType terrain) : base(terrain) { this.hasWall = false; this.visited = 0; this.neighbouringEdges = new List <Edge> (); }