29#pragma region static_functions
40#pragma region overriden_functions
44 return std::make_unique<Button>(*
this);
49 auto onUpdate(
float dt) ->
void override;
56 auto load(
const Stream& stream) ->
void override;
57 auto save(
Stream& stream)
const ->
void override;
66#pragma region Button_functions
76 auto
setEvent(std::
string newEvent) ->
void;
90#pragma region messaging_functions
96#pragma region member_variables
121#pragma region helper_functions
125#pragma region static_variables
sys::Json Stream
Definition AudioObject.h:20
The base class for components, holding all of their shared All components should inherit from this.
nlohmann::json json
Definition Json.cpp:19
Component(ComponentTypeEnum type, const char *typeName)
Definition Component.cpp:72
friend Entity
Definition GameObject.h:84
GameObject(std::string typeName, gobj::Type parentType, gobj::Type type)
constructor for gameobject.
Definition GameObject.cpp:23