forked from justinszaro/WarringNations
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMaxwellHealer01.java
More file actions
executable file
·33 lines (27 loc) · 879 Bytes
/
MaxwellHealer01.java
File metadata and controls
executable file
·33 lines (27 loc) · 879 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
/**
* The MaxwellHealer 1 will heal 5 health for when the healer encounters someone.
*
* @author Max Schuman, Elizabeth Vicente, Tanishq Iyer, Justin Szaro
* @version 3.0
* @since 2021-04-11
*/
public class MaxwellHealer01 extends People {
/**
* Instantiates a Max's Healer 01 Object and establishes its properties.
* @param nation
* @param tribe
* @param lifePoints
*/
MaxwellHealer01(String nation, String tribe, int lifePoints) {
super(nation, tribe, PeopleType.cleric, lifePoints, "Max's Healer");
myDescription = "\tMax's Healer 01";
}
/**
* will heal 5 health for when the healer encounters someone.
* @param otherPerson Other Person who is involved in the encounter
* @return
*/
public int encounterStrategy(People otherPerson) {
return -5;
} //The best healer
}