2021-10-18 11:31:02 +00:00
|
|
|
#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
|