pacman/lib/include/Dave.hpp
2021-10-20 10:21:49 +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