diff options
author | Mike Buland <mike@xagasoft.com> | 2015-04-02 15:28:31 -0600 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2015-04-02 15:28:31 -0600 |
commit | 518619603ab3c49b7fdfcf19c439c1a30668164f (patch) | |
tree | dda7774f51bde150db91dac14718cc78f7571039 /src/worm.h | |
download | lost-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.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 | ||