added lua link to stop function in engine
This commit is contained in:
parent
7b91e32361
commit
d8f52277ed
@ -32,7 +32,8 @@ ScriptNode::ScriptNode()
|
|||||||
LUA_SET_FUN(keymapper);
|
LUA_SET_FUN(keymapper);
|
||||||
|
|
||||||
m_script.new_usertype<Engine>("Engine",
|
m_script.new_usertype<Engine>("Engine",
|
||||||
"time",&Engine::getTime
|
"time",&Engine::getTime,
|
||||||
|
"stop",&Engine::stop
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user