25#pragma region static_functions
36#pragma region overriden_functions
40 return std::make_unique<TutorialScene>(*
this);
46 auto onUpdate(
float dt) ->
void override;
53 auto save(
Stream& stream)
const ->
void override;
61#pragma region TutorialScene_functions
65#pragma region messaging_functions
74#pragma region member_variables
78#pragma region helper_functions
82#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
Definition TutorialScene.h:23
auto operator=(TutorialScene &&other) noexcept -> TutorialScene &=default
auto save(Stream &stream) const -> void override
Implementations will load the state of a GameObject to a th::Json object.
Definition TutorialScene.cpp:63
TutorialScene()
Definition TutorialScene.cpp:28
auto onUpdate(float dt) -> void override
called once every frame.
Definition TutorialScene.cpp:49
~TutorialScene() override=default
friend auto to_json(json &j, const TutorialScene &n) -> void
Definition TutorialScene.cpp:68
auto componentShowMenu() -> void override
Definition TutorialScene.h:43
auto clone() const -> std::unique_ptr< GameObject > override
makes a copy a GameObject even if it's held polymorphically
Definition TutorialScene.h:38
auto backButtonPressed(const Message *message) -> Message
Definition TutorialScene.cpp:98
auto linkMessages() -> void
Resets the table to prepare it for a new game.
Definition TutorialScene.cpp:85
friend auto from_json(const json &j, TutorialScene &n) -> void
Definition TutorialScene.cpp:75
auto load(Stream &stream) -> void override
Implementations will load the state of a GameObject from a th::Json Object.
Definition TutorialScene.cpp:58
auto operator=(const TutorialScene &) -> TutorialScene &=default
auto endWindow() -> void override
currently unused, but intended to but was assumed to be necessary for a proper ImGui editor
Definition TutorialScene.h:48
auto onRender() -> void override
called every frame after update has been called for every object.
Definition TutorialScene.cpp:54