Switch to astypedef, adds unit tests
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:
18
Scripts/Interfaces/Battle.astypedef
Normal file
18
Scripts/Interfaces/Battle.astypedef
Normal file
@@ -0,0 +1,18 @@
|
||||
type Battle {
|
||||
const BattleLibrary@ Library { get const; };
|
||||
bool CanFlee { get const; };
|
||||
uint CurrentTurn { get const; };
|
||||
BattleRandom@ Random { get const; };
|
||||
ChoiceQueue@ TurnQueue { get const; };
|
||||
narray<BattleSide>@ Sides { get const; };
|
||||
narray<BattleParty>@ Parties { get const; };
|
||||
bool CanUse(BaseTurnChoice@ choice);
|
||||
ref@ AddVolatile(const constString &in name);
|
||||
void RemoveVolatile(const constString &in name) const;
|
||||
void SetWeather(const constString &in name) const;
|
||||
void ClearWeather(const constString &in name) const;
|
||||
const constString& GetWeatherName() const;
|
||||
BattleSide@ GetBattleSide(uint8 index);
|
||||
BattleParty@ GetParty(uint8 index);
|
||||
BattleParty@ FindPartyForPokemon(Pokemon@ pokemon);
|
||||
}
|
||||
Reference in New Issue
Block a user