1 #ifndef PY_SCRIPT_WRAPPER 2 #define PY_SCRIPT_WRAPPER 4 #include "GameObject.hpp" 19 std::shared_ptr<ScriptComponent> sc);
void SetScriptComponent(std::shared_ptr< ScriptComponent > sc)
Sets the script component for this wrapper.
Definition: PyScriptWrapper.cpp:11
std::weak_ptr< ScriptComponent > scriptComp
The script component for this python script wrapper.
Definition: PyScriptWrapper.hpp:23
A class for attaching python scripts as components.
Definition: ScriptComponent.hpp:9
std::shared_ptr< GameObject > GetGameObject()
Gets a shared ptr reference to this component's GameObject.
Definition: PyScriptWrapper.cpp:7
A wrapper class for python script components.
Definition: PyScriptWrapper.hpp:9