29#pragma region static_functions
49#pragma region overridden_functions
53 return std::make_unique<TestRunner>(*
this);
56 auto onUpdate(
float dt) ->
void override;
67 auto load(
const Stream& stream) ->
void override;
68 auto save(
Stream& stream)
const ->
void override;
72#pragma region TestRunner_Functions
79#pragma region member_variables
83#pragma region helper_functions
87#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:23
Type
Definition System.h:20
@ TestRunner
Definition System.h:42
System(const std::string &typeName, Type systemType)
Definition System.cpp:75
static auto getEnum() -> Type
function required by all systems
Definition TestRunner.h:34
auto operator=(TestRunner &&other) noexcept -> TestRunner &=default
auto onUpdate(float dt) -> void override
called once every frame.
Definition TestRunner.cpp:541
~TestRunner() override
Definition TestRunner.cpp:516
auto clone() const -> std::unique_ptr< GameObject > override
makes a copy a GameObject even if it's held polymorphically
Definition TestRunner.h:51
auto onRender() -> void override
called every frame after update has been called for every object.
Definition TestRunner.cpp:611
auto operator=(const TestRunner &other) -> TestRunner &
Definition TestRunner.cpp:527
auto systemShowMenu() -> void override
Specific systems should override this function to show their specific menu for the system.
Definition TestRunner.cpp:591
TestRunner()
Definition TestRunner.cpp:455
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:622
auto endWindow() -> void override
currently unused, but intended to but was assumed to be necessary for a proper ImGui editor
Definition TestRunner.h:58
auto save(Stream &stream) const -> void override
Implementations will load the state of a GameObject to a th::Json object.
Definition TestRunner.cpp:627
auto receiveResetKeyPressed(const Message *message) -> Message
Definition TestRunner.cpp:632
the type of elements in a basic_json container
Definition GameObject.h:32