PHP Class PHPWarrior\Units\Sludge

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

Méthodes publiques

Méthode Description
__construct ( ) Class constructor.
attack_power ( ) : integer Your attack power.
character ( ) : string Your character.
max_health ( ) : integer Maximun health.
play_turn ( $turn ) Play your turn.

Method Details

__construct() public méthode

Class constructor.
public __construct ( )

attack_power() public méthode

Your attack power.
public attack_power ( ) : integer
Résultat integer

character() public méthode

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

max_health() public méthode

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

play_turn() public méthode

Play your turn.
public play_turn ( $turn )
$turn