PHP Class PHPWarrior\Units\Sludge

Inheritance: extends Base
Mostrar archivo Open project: yandod/php-warrior

Public Methods

Method 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 method

Class constructor.
public __construct ( )

attack_power() public method

Your attack power.
public attack_power ( ) : integer
return integer

character() public method

Your character.
public character ( ) : string
return string

max_health() public method

Maximun health.
public max_health ( ) : integer
return integer

play_turn() public method

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