메소드 |
설명 |
|
__construct ( $floor, $x, $y, null $direction = null ) |
Position constructor. |
|
direction ( ) |
|
|
direction_of ( $space ) : string |
|
|
direction_stub ( ) |
|
|
distance_from_stairs ( ) |
|
|
distance_of ( $space ) : mixed |
|
|
is_at ( integer $x, integer $y ) : boolean |
|
|
move ( $forward, integer $right ) |
|
|
normalize_direction ( $direction ) : mixed |
|
|
relative_direction ( $direction ) : mixed |
|
|
relative_direction_of ( $space ) : mixed |
|
|
relative_direction_of_stairs ( ) |
|
|
relative_space ( $forward, integer $right ) : mixed |
|
|
rotate ( $amount ) |
|
|
space ( ) |
|
|
translate_offset ( $forward, $right ) : array |
|
|