PHP Class PHPWarrior\Abilities\Base

ファイルを表示 Open project: yandod/php-warrior

Public Properties

Property Type Description
$is_sense

Public Methods

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

public __construct ( $unit )

damage() public method

public damage ( $receiver, $amount )

description() public method

public description ( )

normalize_direction() public static method

public static normalize_direction ( $direction )

offset() public method

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

pass_turn() public method

public pass_turn ( )

space() public method

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

unit() public method

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

verify_direction() public method

public verify_direction ( $direction )

Property Details

$is_sense public_oe property

public $is_sense