43#pragma region static_functions
47 Menu(
float gapSize,
int widthSize,
int heightSize,
menuType typeMenu);
61#pragma region overriden_functions
63 auto clone() const -> std::unique_ptr<
GameObject>
override {
return std::make_unique<Menu>(*
this); }
67 auto onUpdate(
float dt) ->
void override;
72 auto load(
const Stream& stream) ->
void override;
73 auto save(
Stream& stream)
const ->
void override;
82#pragma region Menu_functions
89 auto width() const ->
int;
99 auto
height() const ->
int;
195#pragma region messaging_functions
201#pragma region helper_struct
220#pragma region member_variables
243#pragma region helper_functions
284 auto repositionItems(
const std::vector<Entity*>& ent,
int column) -> void;
294#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
@ cMenu
Definition Component.h:63
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
Definition AffineMatrix.h:30