diff --git a/src/ScriptResolving/AngelScript/AngelScriptResolver.hpp b/src/ScriptResolving/AngelScript/AngelScriptResolver.hpp index fb593af..2cc8bbe 100644 --- a/src/ScriptResolving/AngelScript/AngelScriptResolver.hpp +++ b/src/ScriptResolving/AngelScript/AngelScriptResolver.hpp @@ -63,6 +63,8 @@ public: void FinalizeModule(); + void DefineWord(const std::string& word) { _builder.DefineWord(word.c_str()); } + CreatureLib::Battling::BattleScript* LoadScript(ScriptCategory category, const ArbUt::StringView& scriptName) override; CreatureLib::Battling::ItemUseScript* LoadItemScript(const CreatureLib::Library::Item* item) override;