Method | Description | |
---|---|---|
__construct ( ) | Class constructor. | |
attack_power ( ) | ||
character ( ) : string | Character. | |
earn_points ( $points ) | Earn points. | |
max_health ( ) : integer | Set the maximum health. | |
name ( ) : mixed | Return the character name. | |
perform_turn ( ) | Perform the warrior his turn. | |
play_turn ( $turn ) | Play the turn. | |
player ( ) : Player | Player. | |
shoot_power ( ) : integer | Set the shooting power. |