20 lines
367 B
C++
20 lines
367 B
C++
#pragma once
|
|
|
|
#include "Ghost.hpp"
|
|
|
|
namespace pacman {
|
|
|
|
class Inky final : public Ghost {
|
|
public:
|
|
explicit Inky();
|
|
|
|
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
|