2021-07-28 13:28:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Ghost.hpp"
|
|
|
|
|
|
|
|
namespace pacman {
|
|
|
|
|
|
|
|
class Pinky : public Ghost {
|
|
|
|
public:
|
|
|
|
explicit Pinky();
|
2021-07-28 14:39:27 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
double speed(const GameState & gameState) const override;
|
|
|
|
Position target(const GameState & gameState) const override;
|
2021-07-28 14:20:19 +00:00
|
|
|
Position initialPosition() const override;
|
2021-07-28 14:39:27 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Position scatterTarget() const;
|
2021-07-28 13:28:36 +00:00
|
|
|
};
|
|
|
|
|
2021-07-28 14:20:19 +00:00
|
|
|
} // namespace pacman
|