pacman/lib/SuperPellets.hpp
Corentin Jabot 164db664ef Use VCPKG and reorganization
* Remove non-pacman exercises.
* Use vcpkg instead of conan ( make vcpkg a submodule)
* Merge the readmem these will need to be improve later
2021-05-10 14:58:00 +02:00

26 lines
515 B
C++

#ifndef PACMAN_SUPERPELLETS_HPP
#define PACMAN_SUPERPELLETS_HPP
#include "Position.hpp"
#include "Board.hpp"
#include <SDL2/SDL_rect.h>
class SuperPellets {
public:
explicit SuperPellets(const Board & board);
[[nodiscard]] SDL_Rect currentSprite() const {
return sprite;
}
[[nodiscard]] std::vector<SDL_Point> currentPositions() const {
return positions;
}
private:
const SDL_Rect sprite = {0 * 32, 9 * 32, 32, 32};
std::vector<SDL_Point> positions;
};
#endif //PACMAN_SUPERPELLETS_HPP