2021-07-28 13:28:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Ghost.hpp"
|
|
|
|
|
|
|
|
namespace pacman {
|
|
|
|
|
2021-07-28 15:01:22 +00:00
|
|
|
class Clyde final : public Ghost {
|
2021-07-28 13:28:36 +00:00
|
|
|
public:
|
|
|
|
explicit Clyde();
|
2021-07-28 14:39:27 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
double speed(const GameState & gameState) const override;
|
|
|
|
Position target(const GameState & gameState) const override;
|
2021-07-28 14:20:19 +00:00
|
|
|
Position initialPosition() const override;
|
2021-07-28 14:39:27 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Position scatterTarget() const;
|
2021-07-28 13:28:36 +00:00
|
|
|
};
|
|
|
|
|
2021-07-28 14:20:19 +00:00
|
|
|
} // namespace pacman
|