pacman/lib/include/SuperPellets.hpp
2021-07-07 11:39:09 +02:00

27 lines
469 B
C++

#pragma once
#include "Board.hpp"
#include "Position.hpp"
namespace pacman {
class SuperPellets {
public:
explicit SuperPellets();
[[nodiscard]] GridPosition currentSprite() const {
return sprite;
}
[[nodiscard]] std::vector<GridPosition> currentPositions() const {
return positions;
}
bool eatPelletAtPosition(GridPosition p);
private:
const GridPosition sprite = { 0, 9 };
std::vector<GridPosition> positions;
};
} // namespace pacman