forked from exercism/java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCharacter.java
More file actions
34 lines (28 loc) · 740 Bytes
/
Character.java
File metadata and controls
34 lines (28 loc) · 740 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
/**
* Represents a Character in the game.
*
* NOTE: There is no need to change this file and is treated as read only by the Exercism test runners.
*/
public class Character {
private String characterClass;
private int level;
private int hitPoints;
public String getCharacterClass() {
return characterClass;
}
public void setCharacterClass(String characterClass) {
this.characterClass = characterClass;
}
public int getLevel() {
return level;
}
public void setLevel(int level) {
this.level = level;
}
public int getHitPoints() {
return hitPoints;
}
public void setHitPoints(int hitPoints) {
this.hitPoints = hitPoints;
}
}