From 2c12d19204aa198bf8537bcdb137b40f0c7317e9 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 25 Sep 2016 18:38:34 +0200 Subject: Initial --- AmpelJonas/cPeasant.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 AmpelJonas/cPeasant.h (limited to 'AmpelJonas/cPeasant.h') 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 -- cgit v1.2.3