#pragma once #include "Board.hpp" #include "Position.hpp" class Pellets { public: explicit Pellets(const Board & board); [[nodiscard]] GridPosition currentSprite() const { return sprite; }; [[nodiscard]] std::vector currentPositions() const { return positions; } bool eatPelletAtPosition(Position p); private: const GridPosition sprite = { 1, 9 }; std::vector positions; };