pacman/exercises/16/make_ghost/solution/Clyde.hpp
2021-10-07 12:44:32 +02:00

20 lines
317 B
C++

#pragma once
#include "Ghost.hpp"
namespace pacman {
class Clyde final : public Ghost {
public:
explicit Clyde();
void setTarget(Position pacManPos);
protected:
double speed() const override;
Position initialPosition() const override;
private:
Position scatterTarget() const;
};
} // namespace pacman