PageRenderTime 35ms CodeModel.GetById 27ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/TGame/TCommon/Combat/States/CombatState_Forbidden.h

http://awoe.googlecode.com/
C++ Header | 41 lines | 15 code | 8 blank | 18 comment | 0 complexity | aec4363cef8db12aa09be1abc4e64ae0 MD5 | raw file
 1
 2#ifndef CombatSysState_Forbidden_H
 3#define CombatSysState_Forbidden_H
 4
 5#include "CombatState.h"
 6
 7/*
 8*
 9*	CombatState Forbidden
10*
11*	state Forbidden:	in combat, forbidden to cast a spell
12*/
13class TCOM_API  CombatState_Forbidden : public ICombatState
14{
15public:
16	CombatState_Forbidden(void);
17	virtual ~CombatState_Forbidden();
18	// 
19	//	Fire when enter a new state
20	//
21	virtual void enter();
22
23	// 
24	//	Fire just before leaving a state
25	//
26	virtual void leave();
27
28	// 
29	//	update in current state
30	//
31	virtual bool update(int nElapse);
32
33	// 
34	//	onEvent callback in current state
35	//
36	virtual void onEvent(IEvt& evt);
37protected:
38};
39
40
41#endif