Index
All Classes and Interfaces|All Packages|Constant Field Values
P
- Player - Class in cs2110
-
A player in our game simulation that accepts console input on each turn to determine which monster to attack.
- Player(String, String, GameEngine) - Constructor for class cs2110.Player
-
Constructs a new player with the given `name` and `species` and initializes its health and power levels.
- power() - Method in interface cs2110.Actor
-
Returns the base power level for this Actor.
- power() - Method in class cs2110.Monster
- power() - Method in class cs2110.Player
- processMonsterDeath(Monster) - Method in class cs2110.GameEngine
-
Reports that the given `monster` has been defeated.
- processPlayerDeath(Player) - Method in class cs2110.GameEngine
-
Reports that the given `player` has been defeated.
All Classes and Interfaces|All Packages|Constant Field Values