PHP Class PHPWarrior\Space

Afficher le fichier Open project: yandod/php-warrior

Méthodes publiques

Méthode 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 méthode

public __ToString ( )

__construct() public méthode

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

character() public méthode

public character ( )

is_captive() public méthode

public is_captive ( )

is_empty() public méthode

public is_empty ( )

is_enemy() public méthode

public is_enemy ( )

is_golem() public méthode

public is_golem ( )

is_player() public méthode

public is_player ( )

is_stairs() public méthode

public is_stairs ( )

is_ticking() public méthode

public is_ticking ( )

is_wall() public méthode

public is_wall ( )

is_warrior() public méthode

public is_warrior ( )

location() public méthode

public location ( )

unit() public méthode

public unit ( )