Spawning & drawing entities from Python API
This commit is contained in:
parent
87483cc8ad
commit
6875cb5fe1
10 changed files with 176 additions and 8 deletions
|
|
@ -41,6 +41,7 @@ PythonScene::PythonScene(GameEngine* g, std::string pymodule)
|
|||
// import pymodule and call start()
|
||||
McRFPy_API::executePyString("import " + pymodule);
|
||||
McRFPy_API::executePyString(pymodule + ".start()");
|
||||
|
||||
}
|
||||
|
||||
void PythonScene::animate() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue