Свойство | Тип | Описание | |
---|---|---|---|
$contents | |||
$height | |||
$width |
Метод | Описание | |
---|---|---|
__construct ( $width, $height, $numberOfPlayers ) | ||
getAngle ( Location $l1, Location $l2 ) | ||
getDistance ( Location $l1, Location $l2 ) | ||
getLocation ( Location $loc, $direction ) | ||
getSite ( Location $l, $direction = STILL ) | ||
inBounds ( Location $l ) |
public getDistance ( Location $l1, Location $l2 ) | ||
$l1 | Location | |
$l2 | Location |