29#pragma region static_functions
46#pragma region overriden_functions
50 return std::make_unique<MenuPosition>(*
this);
55 auto onUpdate(
float dt) ->
void override;
61 auto load(
const Stream& stream) ->
void override;
62 auto save(
Stream& stream)
const ->
void override;
70#pragma region MenuPosition_functions
72 [[nodiscard]]
auto getX() const ->
int;
74 auto
setX(
int x) ->
void;
76 [[nodiscard]] auto
getY() const ->
int;
78 auto
setY(
int y) ->
void;
80 [[nodiscard]] auto
getPosition() const -> std::pair<
int,
int>;
84#pragma region messaging_functions
90#pragma region member_variables
94#pragma region helper_functions
98#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
GameObject(std::string typeName, gobj::Type parentType, gobj::Type type)
constructor for gameobject.
Definition GameObject.cpp:24