|
Platformer
Platformer
|
A wrapper class for python script components. More...
#include <PyScriptWrapper.hpp>

Public Member Functions | |
| std::shared_ptr< GameObject > | GetGameObject () |
| Gets a shared ptr reference to this component's GameObject. More... | |
| void | SetScriptComponent (std::shared_ptr< ScriptComponent > sc) |
| Sets the script component for this wrapper. More... | |
Private Attributes | |
| std::weak_ptr< ScriptComponent > | scriptComp |
| The script component for this python script wrapper. | |
A wrapper class for python script components.
| std::shared_ptr< GameObject > PyScriptWrapper::GetGameObject | ( | ) |
Gets a shared ptr reference to this component's GameObject.
| void PyScriptWrapper::SetScriptComponent | ( | std::shared_ptr< ScriptComponent > | sc | ) |
Sets the script component for this wrapper.
| sc | The script component to be set |
1.8.14