Contains the declaration of the GameObject class, representing a game object in the system.
A class representing the game environment.
Definition: Game.hpp:21
~Game()=default
Default destructor for the Game class.
std::vector< std::shared_ptr< GameObject > > _gameObjects
The list of game objects within the game environment.
Definition: Game.hpp:48
void addGameObject(std::shared_ptr< GameObject > object)
Add a game object to the game environment.
Definition: Game.cpp:7
std::vector< std::shared_ptr< GameObject > > getGameObjects()
Get a vector of shared pointers to game objects in the game environment.
Definition: Game.cpp:5
Game()=default
Default constructor for the Game class.