pacman/lib/include/Pinky.hpp

20 lines
342 B
C++

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