1 #ifndef FRUITMANAGER_H_DEFINED 2 #define FRUITMANAGER_H_DEFINED 4 #include <Game/Player.hpp> 5 #include <Game/Board.hpp> 6 #include <Interface/Window.hpp> 32 bool eatenFruit(
Player* player);
48 void add(
int x,
int y);
59 std::vector<Fruit> fruit;
63 #endif //FRUITMANAGER_H_DEFINED
A segment of the terminal screen (2D char matrix).
Controls how many Fruits are there and how they're spawned.
A level where the snake runs and eats fruits.