31#pragma region static_functions
51#pragma region overridden_functions
55 return std::make_unique<TestRunner>(*
this);
60 auto onUpdate(
float dt) ->
void override;
70 auto load(
const Stream& stream) ->
void override;
71 auto save(
Stream& stream)
const ->
void override;
75#pragma region TestRunner_Functions
82#pragma region member_variables
86#pragma region helper_functions
90#pragma region static_variables
sys::Json Stream
Definition AudioObject.h:20
GameObject(std::string typeName, gobj::Type parentType, gobj::Type type)
constructor for gameobject.
Definition GameObject.cpp:24
Type
Definition System.h:20
@ TestRunner
Definition System.h:44
System(const std::string &typeName, Type systemType)
Definition System.cpp:75
static auto getEnum() -> Type
function required by all systems
Definition TestRunner.h:36
auto operator=(TestRunner &&other) noexcept -> TestRunner &=default
auto onUpdate(float dt) -> void override
called once every frame.
Definition TestRunner.cpp:516
~TestRunner() override
Definition TestRunner.cpp:480
auto clone() const -> std::unique_ptr< GameObject > override
makes a copy a GameObject even if it's held polymorphically
Definition TestRunner.h:53
auto onRender() -> void override
called every frame after update has been called for every object.
Definition TestRunner.cpp:588
auto operator=(const TestRunner &other) -> TestRunner &
Definition TestRunner.cpp:491
auto onEnterEngine() -> void override
hook that is called when a GameObject enters the Engine tree.
Definition TestRunner.cpp:505
auto systemShowMenu() -> void override
Specific systems should override this function to show their specific menu for the system.
Definition TestRunner.cpp:568
TestRunner()
Definition TestRunner.cpp:415
TestRunner(const TestRunner &other)=default
auto load(const Stream &stream) -> void override
Implementations will load the state of a GameObject from a th::Json Object.
Definition TestRunner.cpp:599
auto endWindow() -> void override
currently unused, but intended to but was assumed to be necessary for a proper ImGui editor
Definition TestRunner.h:62
auto save(Stream &stream) const -> void override
Implementations will load the state of a GameObject to a th::Json object.
Definition TestRunner.cpp:604
auto receiveResetKeyPressed(const Message *message) -> Message
Definition TestRunner.cpp:609
the type of elements in a basic_json container
Definition GameObject.h:37