-
Notifications
You must be signed in to change notification settings - Fork 1
/
Action.h
68 lines (49 loc) · 1.29 KB
/
Action.h
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// --------------------------------------------------------------------------------------------------------------------------------
// DEMISERL
// Copyright 2014 Corremn
//
// $LastChangedBy$
// $LastChangedDate$
// $LastChangedRevision$
// $HeadURL: $
// --------------------------------------------------------------------------------------------------------------------------------
#if !defined(AFX_ACTION_H__F9EB098E_02A2_414C_B8BD_1C4332FD4F8F__INCLUDED_)
#define AFX_ACTION_H__F9EB098E_02A2_414C_B8BD_1C4332FD4F8F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
enum eAction
{
aWait,
aMove,
aAttack,
aPickup,
aDrop,
aCastSpell,
aFire,
aThrow
};
class Action
{
public:
Action();
void CreateAction(eAction _type);
int param1;
int param2;
int param3;
int param4;
int BaseSpeed(){return action_base_speed;};
eAction Type(){return type;};
private:
void BaseSpeed(int speed){action_base_speed = speed;};
void CreateWait();
void CreateMove();
void CreateAttack();
void CreatePickup();
void CreateDrop();
void CreateCastSpell();
void CreateFire();
int action_base_speed;
eAction type;
};
#endif // !defined(AFX_ACTION_H__F9EB098E_02A2_414C_B8BD_1C4332FD4F8F__INCLUDED_)