Adds ChoiceQueue::HasNext() to Angelscript.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d1ba703f76
commit
d59ee9d869
|
@ -28,6 +28,9 @@ void RegisterBattleClass::RegisterChoiceQueue(asIScriptEngine* engine) {
|
|||
r = engine->RegisterObjectMethod("ChoiceQueue", "const BaseTurnChoice@ Peek() const",
|
||||
asMETHOD(CreatureLib::Battling::ChoiceQueue, Peek), asCALL_THISCALL);
|
||||
Ensure(r >= 0);
|
||||
r = engine->RegisterObjectMethod("ChoiceQueue", "bool HasNext() const",
|
||||
asMETHOD(CreatureLib::Battling::ChoiceQueue, HasNext), asCALL_THISCALL);
|
||||
Ensure(r >= 0);
|
||||
}
|
||||
|
||||
void RegisterBattleClass::RegisterBattleRandom(asIScriptEngine* engine) {
|
||||
|
|
Loading…
Reference in New Issue