summaryrefslogtreecommitdiff
path: root/src/worm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/worm.h')
-rw-r--r--src/worm.h23
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
6class Map;
7
8class Worm
9{
10public:
11 Worm( int iId, const Position &rpStart, Map &rMap );
12 virtual ~Worm();
13
14 bool timestep();
15
16private:
17 int iId;
18 Position pCur;
19 Map &rMap;
20 int iDist;
21};
22
23#endif