pacman/lib/include/Dave.hpp
2021-10-19 10:50:21 +02:00

20 lines
306 B
C++

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