summaryrefslogtreecommitdiff
path: root/src/worm.h
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2015-04-02 15:28:31 -0600
committerMike Buland <mike@xagasoft.com>2015-04-02 15:28:31 -0600
commit518619603ab3c49b7fdfcf19c439c1a30668164f (patch)
treedda7774f51bde150db91dac14718cc78f7571039 /src/worm.h
downloadlost-518619603ab3c49b7fdfcf19c439c1a30668164f.tar.gz
lost-518619603ab3c49b7fdfcf19c439c1a30668164f.tar.bz2
lost-518619603ab3c49b7fdfcf19c439c1a30668164f.tar.xz
lost-518619603ab3c49b7fdfcf19c439c1a30668164f.zip
Everything works, it could use more stuff.
Diffstat (limited to '')
-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