diff options
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 |