PHP Class PHPWarrior\Abilities\Base

Afficher le fichier Open project: yandod/php-warrior

Méthodes publiques

Свойство Type Description
$is_sense

Méthodes publiques

Méthode Description
__construct ( $unit )
damage ( $receiver, $amount )
description ( )
normalize_direction ( $direction )
offset ( $direction, $forward = 1, $right )
pass_turn ( )
space ( $direction, $forward = 1, $right )
unit ( $direction, $forward = 1, $right )
verify_direction ( $direction )

Method Details

__construct() public méthode

public __construct ( $unit )

damage() public méthode

public damage ( $receiver, $amount )

description() public méthode

public description ( )

normalize_direction() public static méthode

public static normalize_direction ( $direction )

offset() public méthode

public offset ( $direction, $forward = 1, $right )

pass_turn() public méthode

public pass_turn ( )

space() public méthode

public space ( $direction, $forward = 1, $right )

unit() public méthode

public unit ( $direction, $forward = 1, $right )

verify_direction() public méthode

public verify_direction ( $direction )

Property Details

$is_sense public_oe property

public $is_sense