GameServer
SkillStateCast.h
[詳解]
1 #ifndef __SKILLSTATECAST_H__
2 #define __SKILLSTATECAST_H__
3 
4 #include "SkillStateBase.h"
5 
10 {
11 
12 public:
13 
14  // コンストラクタ
15  SkillStateCast(SkillControl *pInControl);
16 
17  // デストラクタ
18  virtual ~SkillStateCast() {}
19 
20  // State開始時の処理.
21  virtual void BeginState();
22 
23  // 毎フレームの処理.
24  virtual void Poll(s32 DeltaTime);
25 
26  // ステートタイプを取得.
27  virtual ESkillStateType GetStateType() { return Cast; }
28 
29 private:
30 
31  // キャスト時間.
32  s32 CastTime;
33 
34 };
35 
36 #endif // #ifndef __SKILLSTATECAST_H__
virtual void Poll(s32 DeltaTime)
Definition: SkillStateCast.cpp:27
virtual ~SkillStateCast()
Definition: SkillStateCast.h:18
Definition: SkillControl.h:12
Definition: SkillStateBase.h:13
int s32
Definition: TypeDefs.h:9
Definition: SkillStateBase.h:22
virtual ESkillStateType GetStateType()
Definition: SkillStateCast.h:27
SkillStateCast(SkillControl *pInControl)
Definition: SkillStateCast.cpp:9
Definition: SkillStateCast.h:9
ESkillStateType
Definition: SkillStateBase.h:7
virtual void BeginState()
Definition: SkillStateCast.cpp:17