aboutsummaryrefslogtreecommitdiff
path: root/AmpelJonas/cCar.h
blob: c50507974308cfd403b6b177d43a0bf011d2fffc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once
#include "stdafx.h"

#define _CAR_DIR_SOUTH 2
#define _CAR_DIR_NORTH 4
#define _CAR_DIR_EAST 1
#define _CAR_DIR_WEST 3

class cCar
{
public:
	cCar(int _direction, int *_phase);
	~cCar();

	cObject *getObject();

	void drive();
private:
	cObject *car;
	int iDirection;
	int *pPhase;
};