pacman/lib/include/Dave.hpp

21 lines
306 B
C++
Raw Permalink Normal View History

#pragma once
2021-10-18 12:46:12 +00:00
#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