30#pragma region static_functions
46#pragma region overriden_functions
50 return std::make_unique<Button>(*
this);
55 auto onUpdate(
float dt) ->
void override;
62 auto load(
const Stream& stream) ->
void override;
63 auto save(
Stream& stream)
const ->
void override;
72#pragma region Button_functions
82 auto
setEvent(std::
string newEvent) ->
void;
96#pragma region messaging_functions
102#pragma region member_variables
127#pragma region helper_functions
131#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
ComponentTypeEnum
This enum lists out every type of component we have.
Definition Component.h:39
Component(ComponentTypeEnum type, const char *typeName)
Definition Component.cpp:72
friend Entity
Definition GameObject.h:90
GameObject(std::string typeName, gobj::Type parentType, gobj::Type type)
constructor for gameobject.
Definition GameObject.cpp:24