C Interface for History.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
@@ -17,7 +17,7 @@ namespace CreatureLib::Battling {
|
||||
AttackUseHistory(const ExecutingAttack* attack) : _attack(attack) {}
|
||||
|
||||
HistoryElementKind GetKind() const noexcept override { return HistoryElementKind::AttackUse; }
|
||||
ArbUt::BorrowedPtr<const ExecutingAttack> GetAttack() { return _attack; }
|
||||
ArbUt::BorrowedPtr<const ExecutingAttack> GetAttack() const noexcept { return _attack; }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user