20 lines
333 B
C++
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
|