-
Notifications
You must be signed in to change notification settings - Fork 0
/
Stats.java
86 lines (69 loc) · 1.37 KB
/
Stats.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
/**
* Stats given to all characters
*/
public class Stats{
private int luck;
private int defense;
private int damage;
private int health;
private int healthLeft;
private int speed;
private int exp;
private int randomizer;
public Stats(int luck, int defense, int damage, int health, int speed) {
this.luck = luck;
this.defense = defense;
this.damage = damage;
this.health = health;
this.healthLeft = health;
this.speed = speed;
}
//getters and setters
public int getLuck() {
return luck;}
public void setLuck(int luck) {
this.luck = luck;
}
public int getDefense() {
return defense;
}
public void setDefense(int defense) {
this.defense = defense;
}
public int getDamage() {
return damage;
}
public void setDamage(int damage) {
this.damage = damage;
}
public int getHealth() {
return health;
}
public void setHealth(int health) {
this.health = health;
}
public int getHealthLeft() {
return healthLeft;
}
public void setHealthLeft(int healthLeft) {
this.healthLeft = healthLeft;
}
public int getSpeed() {
return speed;
}
public void setSpeed(int speed) {
this.speed = speed;
}
public int getExp() {
return exp;
}
public void setExp(int exp) {
this.exp = exp;
}
public int getRandomizer() {
return randomizer;
}
public void setRandomizer(int randomizer) {
this.randomizer = randomizer;
}
}