20 lines
362 B
C++
20 lines
362 B
C++
#pragma once
|
|
|
|
#include "Ghost.hpp"
|
|
|
|
namespace pacman {
|
|
|
|
class Blinky final : public Ghost {
|
|
public:
|
|
Blinky();
|
|
|
|
protected:
|
|
double speed(const GameState & gameState) const override;
|
|
Position target(const GameState & gameState) const override;
|
|
Position initialPosition() const override;
|
|
|
|
private:
|
|
Position scatterTarget() const;
|
|
};
|
|
|
|
} // namespace pacman
|