27 Component(std::shared_ptr<GameObject>
object);
Contains the declaration of the GameObject class, representing a game object in the system.
A base class representing a component attached to a game object.
Definition: Component.hpp:20
Component(std::shared_ptr< GameObject > object)
Constructor to initialize a component with a shared pointer to a game object.
Definition: Component.cpp:5
std::shared_ptr< GameObject > _object
The game object to which this component is attached.
Definition: Component.hpp:37
std::shared_ptr< GameObject > getObject()
Get the shared pointer to the game object to which this component is attached.
Definition: Component.cpp:7