23#pragma region static_functions
43#pragma region overridden_functions
47 return std::make_unique<newSystemStub>(*
this);
50 auto onUpdate(
float dt) ->
void override;
57 auto save(
Stream& stream)
const ->
void override;
61#pragma region newSystemStub_Functions
67#pragma region member_variables
71#pragma region helper_functions
75#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
@ newSystemStub
Definition System.h:22
System(const std::string &typeName, Type systemType)
Definition System.cpp:75
auto operator=(const newSystemStub &other) -> newSystemStub &
Definition newSystemStub.cpp:33
auto onRender() -> void override
called every frame after update has been called for every object.
Definition newSystemStub.cpp:52
static auto getEnum() -> Type
function required by all systems
Definition newSystemStub.h:28
auto load(Stream &stream) -> void override
Implementations will load the state of a GameObject from a th::Json Object.
Definition newSystemStub.cpp:56
auto operator=(newSystemStub &&other) noexcept -> newSystemStub &=default
auto save(Stream &stream) const -> void override
Implementations will load the state of a GameObject to a th::Json object.
Definition newSystemStub.cpp:61
newSystemStub()
Definition newSystemStub.cpp:23
auto clone() const -> std::unique_ptr< GameObject > override
makes a copy a GameObject even if it's held polymorphically
Definition newSystemStub.h:45
auto onUpdate(float dt) -> void override
called once every frame.
Definition newSystemStub.cpp:47
auto endWindow() -> void override
currently unused, but intended to but was assumed to be necessary for a proper ImGui editor
Definition newSystemStub.h:52
newSystemStub(const newSystemStub &other)=default
~newSystemStub() override=default
the type of elements in a basic_json container
Definition GameObject.h:32