diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2016-09-25 18:38:34 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2016-09-25 18:38:34 +0200 |
commit | 2c12d19204aa198bf8537bcdb137b40f0c7317e9 (patch) | |
tree | 2b0ea3e0feb0df50449fdd99e0b1dfa3a2f82c16 /AmpelJonas/cPeasant.h | |
download | termgl-2c12d19204aa198bf8537bcdb137b40f0c7317e9.tar.gz |
Initial
Diffstat (limited to 'AmpelJonas/cPeasant.h')
-rw-r--r-- | AmpelJonas/cPeasant.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/AmpelJonas/cPeasant.h b/AmpelJonas/cPeasant.h new file mode 100644 index 0000000..b8f448e --- /dev/null +++ b/AmpelJonas/cPeasant.h @@ -0,0 +1,20 @@ +#pragma once +#include "stdafx.h" + +#define _PE_DIR_NORTH 0 +#define _PE_DIR_WEST 1 + +class cPeasant +{ +public: + cPeasant(int _direction, int *_phase); + ~cPeasant(); + + cObject *getObject(); + + void run(); +private: + cObject *pe; + int iDirection; + int *pPhase; +};
\ No newline at end of file |