27#pragma region static_functions
31 return cTutorialScene;
43#pragma region overriden_functions
47 return std::make_unique<TutorialScene>(*
this);
53 auto onUpdate(
float dt) ->
void override;
59 auto load(
const Stream& stream) ->
void override;
60 auto save(
Stream& stream)
const ->
void override;
68#pragma region TutorialScene_functions
72#pragma region messaging_functions
81#pragma region member_variables
85#pragma region helper_functions
89#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
GameObject(std::string typeName, gobj::Type parentType, gobj::Type type)
constructor for gameobject.
Definition GameObject.cpp:24
Definition TutorialScene.h:25
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
static auto getEnum() -> ComponentTypeEnum
Definition TutorialScene.h:29
~TutorialScene() override=default
friend auto to_json(json &j, const TutorialScene &n) -> void
Definition TutorialScene.cpp:68
auto load(const Stream &stream) -> void override
Implementations will load the state of a GameObject from a th::Json Object.
Definition TutorialScene.cpp:58
auto componentShowMenu() -> void override
Definition TutorialScene.h:50
auto clone() const -> std::unique_ptr< GameObject > override
makes a copy a GameObject even if it's held polymorphically
Definition TutorialScene.h:45
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 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:55
static auto bindLuaTypes(sol::state &lua) -> void
Definition TutorialScene.h:28
auto onRender() -> void override
called every frame after update has been called for every object.
Definition TutorialScene.cpp:54