pacman/lib/include/Blinky.hpp

20 lines
310 B
C++

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