-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathStat.java
98 lines (69 loc) · 2.03 KB
/
Stat.java
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/**
* contrary to popular belief, this class was not jacked from src, but developed alongside it, for different, yet resemblant, cases.
*
* @author eli
*/
public class Stat {
/**
* the stats
*/
public float acelf[] = new float[3];
public int airc = 0;
public float airs = 0F;
public float bounce = 0F;
public int clrad = 0;
public float comprad = 0F;
public float dammult = 0F;
public int flipy = 0;
public float grip = 0F;
public int handb = 0;
public int lift = 0;
public int maxmag = 0;
public float moment = 0;
public int msquash = 0;
private float outdam = 0;
public int powerloss = 0;
public int push = 0;
public int revlift = 0;
public int revpush = 0;
public float simag = 0F;
public int swits[] = new int[3];
public int turn = 0;
public int engine = 0;
public float proba = 0F;
public float dishandle = 0F;
/**
* set up a new stat
*
* @param car the car
*/
public Stat(final int car) {
acelf = StatList.acelf[car].clone();
swits = StatList.swits[car].clone();
airc = StatList.airc[car];
airs = StatList.airs[car];
bounce = StatList.bounce[car];
clrad = StatList.clrad[car];
comprad = StatList.comprad[car];
dammult = StatList.dammult[car];
flipy = StatList.flipy[car];
grip = StatList.grip[car];
handb = StatList.handb[car];
lift = StatList.lift[car];
maxmag = StatList.maxmag[car];
moment = StatList.moment[car];
msquash = StatList.msquash[car];
powerloss = StatList.powerloss[car];
push = StatList.push[car];
revlift = StatList.revlift[car];
revpush = StatList.revpush[car];
turn = StatList.turn[car];
simag = StatList.simag[car];
engine = StatList.engine[car];
outdam = StatList.outdam[car];
proba = StatList.proba[car];
dishandle = StatList.dishandle[car];
}
public Stat(){
}
}