Spawning & drawing entities from Python API

This commit is contained in:
John McCardle 2023-03-08 23:30:00 -05:00
commit 6875cb5fe1
10 changed files with 176 additions and 8 deletions

View file

@ -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() {