31#pragma region static_functions
42#pragma region overriden_functions
46 return std::make_unique<WinScreenScene>(*
this);
52 auto onUpdate(
float dt) ->
void override;
59 auto save(
Stream& stream)
const ->
void override;
67#pragma region WinScreenScene_functions
73#pragma region messaging_functions
83#pragma region member_variables
87#pragma region helper_functions
91#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
GameObject(std::string typeName, gobj::Type parentType, gobj::Type type)
constructor for gameobject.
Definition GameObject.cpp:23
An indicator that loops through a parents' nodes children and can "select" them on keypress.
Definition WinScreenScene.h:29
auto componentShowMenu() -> void override
Definition WinScreenScene.h:49
auto operator=(const WinScreenScene &) -> WinScreenScene &=default
auto linkMessages() -> void
Definition WinScreenScene.cpp:108
WinScreenScene()
Definition WinScreenScene.cpp:31
auto playAgainButtonPressed(const Message *message) -> Message
Definition WinScreenScene.cpp:136
auto save(Stream &stream) const -> void override
Implementations will load the state of a GameObject to a th::Json object.
Definition WinScreenScene.cpp:66
auto onRender() -> void override
called every frame after update has been called for every object.
Definition WinScreenScene.cpp:57
friend auto to_json(json &j, const WinScreenScene &n) -> void
Definition WinScreenScene.cpp:71
auto onUpdate(float dt) -> void override
called once every frame.
Definition WinScreenScene.cpp:52
auto loadWinScreenData(Stream &stream) -> void
Definition WinScreenScene.cpp:87
auto operator=(WinScreenScene &&other) noexcept -> WinScreenScene &=default
~WinScreenScene() override=default
friend auto from_json(const json &j, WinScreenScene &n) -> void
Definition WinScreenScene.cpp:78
auto quitButtonPressed(const Message *message) -> Message
Definition WinScreenScene.cpp:152
auto load(Stream &stream) -> void override
Implementations will load the state of a GameObject from a th::Json Object.
Definition WinScreenScene.cpp:61
auto clone() const -> std::unique_ptr< GameObject > override
makes a copy a GameObject even if it's held polymorphically
Definition WinScreenScene.h:44
auto goToMainMenuButtonPressed(const Message *message) -> Message
Definition WinScreenScene.cpp:144
auto endWindow() -> void override
currently unused, but intended to but was assumed to be necessary for a proper ImGui editor
Definition WinScreenScene.h:54