pacman/lib/include/Inky.hpp
Patricia Aas 99cf57956c Init pos
2021-07-28 17:01:22 +02:00

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