Better handling of filling empty slots.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user