-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVenusaur.java
30 lines (27 loc) · 878 Bytes
/
Venusaur.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
/**
* Venusaur Pokemon object class.
* Subclass of Ivysaur
* @author Lisa Miller
* @version 1.0
* @since 9/24/2016
*/
public class Venusaur extends Ivysaur {
/** The minimum attack power for species. */
static final int BASE_ATTACK_POWER = 198;
/** The minimum defense power for species. */
static final int BASE_DEFENSE_POWER = 189;
/** The minimum stamina power for species. */
static final int BASE_STAMINA_POWER = 190;
/** Constructor with no name. */
public Venusaur() {
super("Venusaur", "Venusaur", 3, 2.0, 100.0, BASE_ATTACK_POWER,
BASE_DEFENSE_POWER, BASE_STAMINA_POWER);
}
/** Constructor with name.
* @param name The user-defined name.
*/
public Venusaur(String name) {
super("Venusaur", name, 3, 2.0, 100.0, BASE_ATTACK_POWER,
BASE_DEFENSE_POWER, BASE_STAMINA_POWER);
}
}