pacman/lib/include/PacManAI.hpp

26 lines
463 B
C++
Raw Normal View History

#pragma once
#include "Blinky.hpp"
#include "Clyde.hpp"
#include "Direction.hpp"
#include "Inky.hpp"
#include "PacMan.hpp"
#include "Pellets.hpp"
#include "Pinky.hpp"
#include "Position.hpp"
#include "SuperPellets.hpp"
namespace pacman {
class PacManAI {
public:
2021-09-22 12:06:17 +00:00
void update(const PacMan & pacMan, const Pellets & pellets);
Direction suggestedDirection() const;
private:
Position pos;
2021-09-22 12:15:33 +00:00
Direction direction = Direction::RIGHT;
};
} // namespace pacman