PHP Class PHPWarrior\Space

Datei anzeigen Open project: yandod/php-warrior

Public Methods

Method Description
__ToString ( )
__construct ( $floor, integer $x, integer $y ) Space constructor.
character ( )
is_captive ( )
is_empty ( )
is_enemy ( )
is_golem ( )
is_player ( )
is_stairs ( )
is_ticking ( )
is_wall ( )
is_warrior ( )
location ( )
unit ( )

Method Details

__ToString() public method

public __ToString ( )

__construct() public method

Space constructor.
public __construct ( $floor, integer $x, integer $y )
$floor
$x integer
$y integer

character() public method

public character ( )

is_captive() public method

public is_captive ( )

is_empty() public method

public is_empty ( )

is_enemy() public method

public is_enemy ( )

is_golem() public method

public is_golem ( )

is_player() public method

public is_player ( )

is_stairs() public method

public is_stairs ( )

is_ticking() public method

public is_ticking ( )

is_wall() public method

public is_wall ( )

is_warrior() public method

public is_warrior ( )

location() public method

public location ( )

unit() public method

public unit ( )