pacman/lib/include/Inky.hpp

20 lines
364 B
C++

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