Fully handle turn ordering
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-10-31 12:31:31 +01:00
parent 972af35ecf
commit 42c1623985
6 changed files with 43 additions and 10 deletions

View File

@@ -13,6 +13,7 @@ namespace CreatureLib::Battling {
uint8_t _numberOfSides;
uint8_t _creaturesPerSide;
std::vector<BattleSide*> _sides;
Core::Random _random;
ChoiceQueue* _currentTurnQueue = nullptr;
public:
@@ -24,6 +25,7 @@ namespace CreatureLib::Battling {
void CheckChoicesSetAndRun();
ChoiceQueue* GetCurrentTurnQueue() const;
Core::Random& GetRandom();
};
}