19 :
Script(scriptPath, fileType),
27 const chaiscript::ModulePtr m = chaiscript::ModulePtr(
new chaiscript::Module());
28 chaiscript::utility::add_class<GameScriptInstance>(*m,
31 chaiscript::constructor<GameScriptInstance()>(),
32 chaiscript::constructor<GameScriptInstance(const GameScriptInstance &)>()
bool framePostRender(const FrameEvent &evt) override
bool frameEnded(const FrameEvent &evt) override
frameEnded is called after the buffers have been swapped
bool frameStarted(const FrameEvent &evt) override
bool framePreRender(const FrameEvent &evt) override
framePreRenderStarted is called when we need to start processing the visual aspect of a scene
GameScript(const string &sourceCode, FrameListenerManager &parent, U32 callOrder)
void addGameInstance() const
bool frameRenderingQueued(const FrameEvent &evt) override
void frameRenderingQueued()
chaiscript::ChaiScript_uptr _script
Handle console commands that start with a forward slash.
chaiscript::ModulePtr create_chaiscript_bindings()