1 #ifndef DENGINE_COMPONENT_H 2 #define DENGINE_COMPONENT_H 58 #endif //DENGINE_COMPONENT_H A base object for a game The gameobject can be considered the most basic building block of a game...
Definition: GameObject.h:19
virtual void Update()
Definition: Component.cpp:13
std::string GetName()
Returns the component's name.
Definition: Component.cpp:7
Component(GameObject &parent)
Create a new component for a gameobject.
Definition: Component.cpp:5
virtual void NotifyCollision(GameObject &other)
Definition: Component.cpp:15
virtual void Render()
Definition: Component.cpp:17
std::string name
Definition: Component.h:54
virtual void Start()
Start the object To be called by the GameObject's Start method. This should be called at the beginnin...
Definition: Component.cpp:11
Gameobject component that asssists in adding additional functionality.
Definition: Component.h:14
GameObject & parent
Definition: Component.h:53
The namespace containing the engine's code.
Definition: Collider.h:9