Adds angelscript property to get pokemon per side from Battle.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f447e40663
commit
309439918c
|
@ -127,6 +127,8 @@ void RegisterBattleClass::RegisterBattle(asIScriptEngine* engine) {
|
|||
GetLibrary);
|
||||
REGISTER_GETTER("Battle", "bool get_CanFlee() const property", CreatureLib::Battling::Battle, CanFlee);
|
||||
REGISTER_GETTER("Battle", "uint get_CurrentTurn() const property", CreatureLib::Battling::Battle, GetCurrentTurn);
|
||||
REGISTER_GETTER("Battle", "uint8 get_PokemonPerSide() const property", CreatureLib::Battling::Battle,
|
||||
GetCreaturesPerSide);
|
||||
REGISTER_GETTER("Battle", "BattleRandom@ get_Random() const property", CreatureLib::Battling::Battle, GetRandom);
|
||||
REGISTER_GETTER("Battle", "ChoiceQueue@ get_TurnQueue() const property", CreatureLib::Battling::Battle,
|
||||
GetCurrentTurnQueue);
|
||||
|
|
Loading…
Reference in New Issue