This commit is contained in:
1 file changed
+3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user