Property | Type | Description | |
---|---|---|---|
$height | |||
$stairs_location | |||
$units | |||
$width |
Method | Description | |
---|---|---|
add ( $unit, $x, $y, null $direction = null ) | Add. | |
character ( ) : string | Charecter | |
get ( $x, $y ) : mixed | Get. | |
is_out_of_bounds ( $x, $y ) : boolean | Is it out of bounds? | |
other_units ( ) : array | Other units. | |
place_stairs ( $x, $y ) | Place the stairs. | |
space ( $x, $y ) : |
Space. | |
stairs_space ( ) : mixed | Stairs space. | |
unique_units ( ) : array | Get the unique units. | |
units ( ) : array | Units. |
public is_out_of_bounds ( $x, $y ) : boolean | ||
$x | ||
$y | ||
return | boolean |