25#pragma region static_functions
36#pragma region overriden_functions
40 return std::make_unique<ConfirmDestructiveActionScene>(*
this);
46 auto onUpdate(
float dt) ->
void override;
53 auto save(
Stream& stream)
const ->
void override;
61#pragma region ConfirmDestructiveActionScene_functions
65#pragma region messaging_functions
75#pragma region member_variables
79#pragma region helper_functions
83#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
Definition ConfirmDestructiveActionScene.h:23
auto componentShowMenu() -> void override
Definition ConfirmDestructiveActionScene.h:43
friend auto to_json(json &j, const ConfirmDestructiveActionScene &n) -> void
Definition ConfirmDestructiveActionScene.cpp:71
auto save(Stream &stream) const -> void override
Implementations will load the state of a GameObject to a th::Json object.
Definition ConfirmDestructiveActionScene.cpp:66
auto linkMessages() -> void
Definition ConfirmDestructiveActionScene.cpp:86
auto load(Stream &stream) -> void override
Implementations will load the state of a GameObject from a th::Json Object.
Definition ConfirmDestructiveActionScene.cpp:61
auto operator=(const ConfirmDestructiveActionScene &) -> ConfirmDestructiveActionScene &=default
auto operator=(ConfirmDestructiveActionScene &&other) noexcept -> ConfirmDestructiveActionScene &=default
auto confirmResumeButtonPressed(const Message *message) -> Message
Definition ConfirmDestructiveActionScene.cpp:111
auto onUpdate(float dt) -> void override
called once every frame.
Definition ConfirmDestructiveActionScene.cpp:52
~ConfirmDestructiveActionScene() override=default
ConfirmDestructiveActionScene()
Definition ConfirmDestructiveActionScene.cpp:31
auto onRender() -> void override
called every frame after update has been called for every object.
Definition ConfirmDestructiveActionScene.cpp:57
auto confirmQuitButtonPressed(const Message *message) -> Message
Definition ConfirmDestructiveActionScene.cpp:130
friend auto from_json(const json &j, ConfirmDestructiveActionScene &n) -> void
Definition ConfirmDestructiveActionScene.cpp:78
auto clone() const -> std::unique_ptr< GameObject > override
makes a copy a GameObject even if it's held polymorphically
Definition ConfirmDestructiveActionScene.h:38
auto confirmQuitPauseButtonPressed(const Message *message) -> Message
Definition ConfirmDestructiveActionScene.cpp:119
auto endWindow() -> void override
currently unused, but intended to but was assumed to be necessary for a proper ImGui editor
Definition ConfirmDestructiveActionScene.h:48
GameObject(std::string typeName, gobj::Type parentType, gobj::Type type)
constructor for gameobject.
Definition GameObject.cpp:23