Example #1
0
 public ExodusGame(GameManager gameManager)
 {
     Initialize(gameManager);
     map            = new MarinusMap(this, gameManager.gameType, dim, dim, wrapEastWest, wrapNorthSouth, percentSea, percentRiver);
     _biomeSystem   = new ExodusBiomeSystem(ExodusSettings.numberOfBiomes);
     _colorLocation = new ExodusLocationColor(this._biomeSystem);
     _locationColor = new ExodusLocationColor(this._biomeSystem);
     _keyHandler    = new ExodusKeyHandler(this);
 }
Example #2
0
 public void SetNeighbors(MarinusMap map, TileShape tileShape)
 {
     if (tileShape == TileShape.SQUARE)
     {
         SetNeighborsSquare(map);
     }
     else
     {
         SetNeighborsHex(map);
     }
 }
Example #3
0
 public MarinusGame(GameManager gameManager)
 {
     Initialize(gameManager);
     map = new MarinusMap(this, gameManager.gameType, dim, dim, wrapEastWest, wrapNorthSouth, percentSea, percentRiver);
 }
Example #4
0
 private void SetNeighborsHex(MarinusMap map)
 {
     SetNeighborsHex(map.pathMap, map.xDim, map.yDim, map.wrapEastWest, map.wrapNorthSouth);
 }