PHP Class PHPWarrior\Units\Wizard

Inheritance: extends Base
Show file Open project: yandod/php-warrior

Public Methods

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

Class constructor
public __construct ( )

character() public method

The character.
public character ( ) : string
return string

max_health() public method

Maximun health for the wizard.
public max_health ( ) : integer
return integer

play_turn() public method

public play_turn ( $turn )

shoot_power() public method

Shooting power for the wizard.
public shoot_power ( ) : integer
return integer