Better handling of filling empty slots.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-12-07 12:13:12 +01:00
parent 345af31464
commit 57f16bc420
10 changed files with 80 additions and 31 deletions

View File

@@ -39,6 +39,7 @@ namespace CreatureLib::Battling {
Battle* _battle;
BattleSide* _side;
bool _onBattleField;
std::string _nickname = "";
int8_t _talentIndex;
@@ -68,6 +69,7 @@ namespace CreatureLib::Battling {
void SetBattleData(Battle* battle, BattleSide* side);
Battle* GetBattle() const;
BattleSide* GetBattleSide() const;
bool IsOnBattleField() const { return _onBattleField; }
const std::string& GetNickname() const;
const std::string& GetActiveTalent() const;