forked from peterParker79/java-ironbattle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWizard.java
More file actions
35 lines (27 loc) · 691 Bytes
/
Wizard.java
File metadata and controls
35 lines (27 loc) · 691 Bytes
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
public class Wizard extends Character implements Attacker{
private int mana;
private int intelligence;
public Wizard(String name, int hp){
super(name, hp);
}
public Wizard(String name, int hp, int mana, int intelligence) {
super(name, hp);
setMana(mana);
setIntelligence(intelligence);
}
public int getMana() {
return mana;
}
public void setMana(int mana) {
this.mana = mana;
}
public int getIntelligence() {
return intelligence;
}
public void setIntelligence(int intelligence) {
this.intelligence = intelligence;
}
@Override
public void attack(){
}
}