Added Helper function to ChoiceQueue to move a specific creature's choice up next.
This commit is contained in:
@@ -21,9 +21,13 @@ namespace CreatureLib::Battling {
|
||||
return b;
|
||||
}
|
||||
|
||||
BaseTurnChoice* Peek() { return _queue[_current]; }
|
||||
|
||||
[[nodiscard]] bool HasNext() const { return _current < _queue.size(); }
|
||||
|
||||
std::vector<BaseTurnChoice*>& GetInnerQueue() { return _queue; }
|
||||
|
||||
bool MoveCreatureChoiceNext(Creature* creature);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user