PHP Class PHPWarrior\Units\Wizard

Inheritance: extends Base
Afficher le fichier Open project: yandod/php-warrior

Méthodes publiques

Méthode Description
__construct ( ) Class constructor
character ( ) : string The character.
max_health ( ) : integer Maximun health for the wizard.
play_turn ( $turn )
shoot_power ( ) : integer Shooting power for the wizard.

Method Details

__construct() public méthode

Class constructor
public __construct ( )

character() public méthode

The character.
public character ( ) : string
Résultat string

max_health() public méthode

Maximun health for the wizard.
public max_health ( ) : integer
Résultat integer

play_turn() public méthode

public play_turn ( $turn )

shoot_power() public méthode

Shooting power for the wizard.
public shoot_power ( ) : integer
Résultat integer