public WorldState ( int gridWidth, int gridHeight ) : System | ||
gridWidth | int | The width of the world state in grid cells. |
gridHeight | int | The height of the world state in grid cells. |
return | System |
public WorldState(int gridWidth, int gridHeight)
{
_gridWidth = gridWidth;
_gridHeight = gridHeight;
_cellOrganisms = new OrganismState[gridWidth,gridHeight];
}