summaryrefslogtreecommitdiffstats
path: root/src/taskwait.h
blob: 7a1f78207c34b7376fcc9418bbed17dee3135a43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// taskwait.h

#ifndef _TASKWAIT_H_
#define	_TASKWAIT_H_


class CInstanceManager;
class CTerrain;
class CBrain;
class CPhysics;
class CObject;


class CTaskWait : public CTask
{
public:
	CTaskWait(CInstanceManager* iMan, CObject* object);
	~CTaskWait();

	BOOL	EventProcess(const Event &event);

	Error	Start(float time);
	Error	IsEnded();

protected:

protected:
	float		m_waitTime;
	float		m_passTime;
	BOOL		m_bEnded;
};


#endif //_TASKWAIT_H_