Brunot
Loading...
Searching...
No Matches
newSystemStub.h
Go to the documentation of this file.
1// File: newSystemStub.h
2// Description:
3// Author(s): Aidan Hartman (aidan.hartman@digipen.edu)
4// 2025 / 10 / 20
5// (C) Digipen 2025
6// newSystemStub.h
7// ____ __ __ __
8// /\__ _\/\ \ /\ \/\ \
9// \/_/\ \/\ \ \___ __ \ \ \_\ \ ___ __ __ ____ __
10// \ \ \ \ \ _ `\ /'__`\ \ \ _ \ / __`\/\ \/\ \ /',__\ /'__`\
11// \ \ \ \ \ \ \ \/\ __/ \ \ \ \ \/\ \L\ \ \ \_\ \/\__, `\/\ __/
12// \ \_\ \ \_\ \_\ \____\ \ \_\ \_\ \____/\ \____/\/\____/\ \____\
13// \/_/ \/_/\/_/\/____/ \/_/\/_/\/___/ \/___/ \/___/ \/____/
14#pragma once
15
16#include "Framework/System.h"
17
18namespace sys
19{
20class newSystemStub : public System
21{
22public:
23#pragma region static_functions
24
28 static auto getEnum() -> Type
29 {
31 }
32
33#pragma endregion
34
36 ~newSystemStub() override = default;
37 newSystemStub(const newSystemStub& other) = default;
38 newSystemStub(newSystemStub&& other) noexcept;
39 auto operator=(const newSystemStub& other) -> newSystemStub&;
40 auto operator=(newSystemStub&& other) noexcept -> newSystemStub& = default;
41
42
43#pragma region overridden_functions
44
45 auto clone() const -> std::unique_ptr<GameObject> override
46 {
47 return std::make_unique<newSystemStub>(*this);
48 }
49
50 auto onUpdate(float dt) -> void override;
51
52 auto endWindow() -> void override
53 {
54 }; // for debug ImGUI
55 auto onRender() -> void override;
56 auto load(Stream& stream) -> void override;
57 auto save(Stream& stream) const -> void override;
58
59#pragma endregion
60
61#pragma region newSystemStub_Functions
62
63
64#pragma endregion
65
66private:
67#pragma region member_variables
68
69#pragma endregion
70
71#pragma region helper_functions
72
73#pragma endregion
74
75#pragma region static_variables
76
77#pragma endregion
78
79
80};
81}
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