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); }
public void SetNeighbors(MarinusMap map, TileShape tileShape) { if (tileShape == TileShape.SQUARE) { SetNeighborsSquare(map); } else { SetNeighborsHex(map); } }
public MarinusGame(GameManager gameManager) { Initialize(gameManager); map = new MarinusMap(this, gameManager.gameType, dim, dim, wrapEastWest, wrapNorthSouth, percentSea, percentRiver); }
private void SetNeighborsHex(MarinusMap map) { SetNeighborsHex(map.pathMap, map.xDim, map.yDim, map.wrapEastWest, map.wrapNorthSouth); }