diff options
Diffstat (limited to 'src/worm.h')
| -rw-r--r-- | src/worm.h | 23 | 
1 files changed, 23 insertions, 0 deletions
| diff --git a/src/worm.h b/src/worm.h new file mode 100644 index 0000000..2c02e76 --- /dev/null +++ b/src/worm.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | #ifndef WORM_H | ||
| 2 | #define WORH_H | ||
| 3 | |||
| 4 | #include "position.h" | ||
| 5 | |||
| 6 | class Map; | ||
| 7 | |||
| 8 | class Worm | ||
| 9 | { | ||
| 10 | public: | ||
| 11 | Worm( int iId, const Position &rpStart, Map &rMap ); | ||
| 12 | virtual ~Worm(); | ||
| 13 | |||
| 14 | bool timestep(); | ||
| 15 | |||
| 16 | private: | ||
| 17 | int iId; | ||
| 18 | Position pCur; | ||
| 19 | Map &rMap; | ||
| 20 | int iDist; | ||
| 21 | }; | ||
| 22 | |||
| 23 | #endif | ||
