PageRenderTime 19ms CodeModel.GetById 10ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/TGame/TCommon/Combat/States/CombatState_CoolDown.h

http://awoe.googlecode.com/
C++ Header | 48 lines | 15 code | 8 blank | 25 comment | 0 complexity | 58350c030c2b57de3578f2a47e1e9f20 MD5 | raw file
 1///////////////////////////////////////////////////////////////////////////////////////////////////
 2// CombatState_CoolDown.h
 3// 2010?7?20?
 4// Copyright ?2007, 2010, 8DWorld, Inc. All rights reserved.
 5//
 6// 
 7///////////////////////////////////////////////////////////////////////////////////////////////////
 8
 9#ifndef CombatSysState_CoolDown_H
10#define CombatSysState_CoolDown_H
11
12#include "CombatState.h"
13
14/*
15*
16*	CombatState CoolDown
17*
18*	state CoolDown:		in combat, cool down time interval just after a previous spell is casted
19*/
20class TCOM_API  CombatState_CoolDown : public ICombatState
21{
22public:
23	CombatState_CoolDown(void);
24	virtual ~CombatState_CoolDown();
25	// 
26	//	Fire when enter a new state
27	//
28	virtual void enter();
29
30	// 
31	//	Fire just before leaving a state
32	//
33	virtual void leave();
34
35	// 
36	//	update in current state
37	//
38	virtual bool update(int nElapse);
39
40	// 
41	//	onEvent callback in current state
42	//
43	virtual void onEvent(IEvt& evt);
44protected:
45};
46
47
48#endif