fix: savanna biome + savanna tree

used compilation to change savanna biome generation and savanna tree teatures using abstractTreeFeature that was missing.
This commit is contained in:
Lord_Cambion
2026-04-26 16:12:20 +02:00
parent 35500de3cc
commit 41d4334e80
6 changed files with 230 additions and 122 deletions
+19 -1
View File
@@ -54,4 +54,22 @@ public:
return 0;
}
};
class Plane
{
public:
static int getRandomFace(Random* random)
{
static const int horizontal[4] = {
Direction::SOUTH,
Direction::WEST,
Direction::NORTH,
Direction::EAST
};
return horizontal[random->nextInt(4)];
}
};
};