-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCard.java
More file actions
85 lines (60 loc) · 1.62 KB
/
Copy pathCard.java
File metadata and controls
85 lines (60 loc) · 1.62 KB
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
package utils;
import java.util.ArrayList;
public abstract class Card {
private int mana;
private int health;
private int attackDamage;
private String description;
private ArrayList<String> colors;
private String name;
private boolean stunned = false;
private boolean hasAttackedThisTurn = false;
public int getMana() {
return mana;
}
public void setMana(final int mana) {
this.mana = mana;
}
public int getHealth() {
return health;
}
public void setHealth(final int health) {
this.health = health;
}
public int getAttackDamage() {
return attackDamage;
}
public void setAttackDamage(final int attackDamage) {
this.attackDamage = attackDamage;
}
public String getDescription() {
return description;
}
public void setDescription(final String description) {
this.description = description;
}
public ArrayList<String> getColors() {
return colors;
}
public void setColors(final ArrayList<String> colors) {
this.colors = colors;
}
public String getName() {
return name;
}
public void setName(final String name) {
this.name = name;
}
public boolean isStunned() {
return stunned;
}
public void setStunned(final boolean stunned) {
this.stunned = stunned;
}
public boolean hasAttackedThisTurn() {
return hasAttackedThisTurn;
}
public void setHasAttackedThisTurn(final boolean hasAttackedThisTurn) {
this.hasAttackedThisTurn = hasAttackedThisTurn;
}
}