pacman/lib/include/Pinky.hpp
2021-10-14 12:31:45 +02:00

20 lines
333 B
C++

#pragma once
#include "Ghost.hpp"
namespace pacman {
class Pinky final : public Ghost {
public:
Pinky();
void setTarget(GridPosition pacManPos, Direction pacManDir);
protected:
double speed() const override;
Position initialPosition() const override;
private:
Position scatterTarget() const;
};
} // namespace pacman