19 enum class Type :
unsigned short
40 [[nodiscard]]
auto getKey() const -> Key override;
the base class for the engine, most things inherit from this.
the base class for the engine, most things inherit from this.
Definition GameObject.h:77
std::string typeName
the typeName of a GameObject.
Definition GameObject.h:527
GameObject(std::string typeName, gobj::Type parentType, gobj::Type type)
constructor for gameobject.
Definition GameObject.cpp:23
virtual auto systemShowMenu() -> void
Specific systems should override this function to show their specific menu for the system.
Definition System.h:48
Type
Definition System.h:20
@ Input
Definition System.h:24
@ Editor
Definition System.h:25
@ TestRunner
Definition System.h:35
@ OpenGL
Definition System.h:23
@ ActionList
Definition System.h:33
@ system_error_type
Definition System.h:21
@ AudioSystem
Definition System.h:29
@ DebugDraw
Definition System.h:34
@ ColliderSystem
Definition System.h:36
@ HandSystem
Definition System.h:31
@ SceneManager
Definition System.h:32
@ Camera
Definition System.h:27
@ Scoring
Definition System.h:30
@ Messaging
Definition System.h:26
@ newSystemStub
Definition System.h:22
auto getParent() const -> GameObject *override
Gets the parent of a GameObject.
Definition System.cpp:44
System(const std::string &typeName, Type systemType)
Definition System.cpp:75
auto showMenu() -> void override
Called before update each frame, for calling ImGui editor code relevant to the gameObject.
Definition System.cpp:19
Type type
Definition System.h:55
auto getKey() const -> Key override
Generates a unique Key that corresponds to the GameObject.
Definition System.cpp:39