Adds getter for Battle on BattleSide.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
@@ -30,6 +30,8 @@ namespace CreatureLib::Battling {
|
||||
|
||||
virtual ~BattleSide() = default;
|
||||
|
||||
[[nodiscard]] inline ArbUt::BorrowedPtr<Battle> GetBattle() const noexcept { return _battle; }
|
||||
|
||||
[[nodiscard]] bool AllChoicesSet() const noexcept;
|
||||
[[nodiscard]] const ArbUt::List<std::shared_ptr<BaseTurnChoice>>& GetChoices() const noexcept {
|
||||
return _choices;
|
||||
|
||||
Reference in New Issue
Block a user