src/level/StepCounter.h
raw| 1 | #ifndef HEADER_STEPCOUNTER_H |
| 2 | #define HEADER_STEPCOUNTER_H |
| 3 | |
| 4 | #include <string> |
| 5 | |
| 6 | /** |
| 7 | * Interface to number of steps. |
| 8 | */ |
| 9 | class StepCounter { |
| 10 | public: |
| 11 | virtual ~StepCounter() {} |
| 12 | virtual int getStepCount() const = 0; |
| 13 | virtual std::string getMoves() const = 0; |
| 14 | virtual bool isPowerful() const = 0; |
| 15 | virtual bool isDangerousMove() const = 0; |
| 16 | }; |
| 17 | |
| 18 | #endif |