11#ifndef arcadeSnake_HPP
12#define arcadeSnake_HPP
42 std::size_t
getScore()
const override {
return 0;};
70 std::vector<std::shared_ptr<IEntity>>
getEntities()
const override {
return std::vector<std::shared_ptr<IEntity>>{};};
Interface for game modules in the arcade project.
Interface for game modules.
Definition: IGameModule.hpp:28
A class that implements the IGameModule interface.
Definition: arcade_snake.hpp:24
std::size_t getScore() const override
Retrieves the current score of the game.
Definition: arcade_snake.hpp:42
~arcadeSnake()
Destructor for the arcadeSnake class.
Definition: arcade_snake.cpp:12
std::string _libName
The name of the library.
Definition: arcade_snake.hpp:25
void setScore(std::size_t score) override
Sets the score for the game.
Definition: arcade_snake.hpp:50
void setHighScore(std::size_t highScore) override
Sets the high score for the game.
Definition: arcade_snake.hpp:59
arcadeSnake()
Constructor for the arcadeSnake class.
Definition: arcade_snake.cpp:9
std::vector< std::shared_ptr< IEntity > > getEntities() const override
Retrieves a list of entities managed by the class.
Definition: arcade_snake.hpp:70
std::size_t getHighScore() const override
Retrieves the high score for the game.
Definition: arcade_snake.hpp:35