private static void computeWorldHeight()
{
_worldHeight = (int) (Math.Sqrt(10000*(_maxAnimals + _maxPlants)) + 1);
if (_worldHeight < 1024)
{
_worldHeight = 1024; // ensures at least an 800x800 area for viewing purposes
}
double a = _worldHeight/1024.0;
a = Math.Round(a + 0.5);
_worldHeight = 1024*(int) a;
_worldWidth = _worldHeight;
}