Esempio n. 1
0
 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;
     }
 }
Esempio n. 2
0
 public BoardPiece(Enums.TerrainType terrain)
 {
     this.terrainType = terrain;
 }
Esempio n. 3
0
 public Vertex(Enums.TerrainType terrain) : base(terrain)
 {
     this.hasWall           = false;
     this.visited           = 0;
     this.neighbouringEdges = new List <Edge> ();
 }