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:
@@ -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)];
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user