void InitRiver(TileLogic logic, int x, int y) { int food = 8; int light = 9; int water = Mathf.Clamp(10 - Mathf.Abs(x - y), 0, 10); logic.OnInit(x, y, light, water, food); }
void InitCoast(TileLogic logic, int x, int y) { int food = 10; int light = 8; int water = Mathf.Clamp(10 - x / 2, 0, 10); logic.OnInit(x, y, light, water, food); }
void InitRandom(TileLogic logic, int x, int y) { logic.OnInit(x, y); }