43#pragma region static_functions
52 Menu(
float gapSize,
int widthSize,
int heightSize,
menuType typeMenu);
66#pragma region overriden_functions
68 auto clone() const -> std::unique_ptr<
GameObject>
override {
return std::make_unique<Menu>(*
this); }
72 auto onUpdate(
float dt) ->
void override;
77 auto load(
const Stream& stream) ->
void override;
78 auto save(
Stream& stream)
const ->
void override;
87#pragma region Menu_functions
94 auto width() const ->
int;
104 auto
height() const ->
int;
110 auto
setOrigin(
float x,
float y) ->
void;
222 auto
clear() const ->
void;
243#pragma region messaging_functions
250#pragma region helper_struct
269#pragma region member_variables
292#pragma region helper_functions
333 auto repositionItems(
const std::vector<Entity*>& ent,
int column) -> void;
343#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
Definition AffineMatrix.h:30