Initial support for setting battle choices.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
namespace CreatureLib::Battling{
|
||||
// Forward declare battle class
|
||||
class Battle;
|
||||
class BattleSide;
|
||||
|
||||
class Creature {
|
||||
GetProperty(const Library::CreatureSpecies*, Species);
|
||||
@@ -29,6 +30,7 @@ namespace CreatureLib::Battling{
|
||||
Core::StatisticSet<uint32_t > _boostedStats;
|
||||
|
||||
Battle* _battle;
|
||||
BattleSide* _side;
|
||||
BattleLibrary* _library;
|
||||
|
||||
std::string _nickname = "";
|
||||
@@ -46,6 +48,11 @@ namespace CreatureLib::Battling{
|
||||
|
||||
void ChangeLevel(int8_t amount);
|
||||
|
||||
void SetBattleData(Battle* battle, BattleSide* side);
|
||||
|
||||
Battle* GetBattle() const;
|
||||
BattleSide* GetBattleSide() const;
|
||||
|
||||
//region Stat APIs
|
||||
|
||||
void SetBattle(Battle* battle);
|
||||
|
||||
Reference in New Issue
Block a user