Свойство | Type | Description | |
---|---|---|---|
$x | |||
$y |
Méthode | Description | |
---|---|---|
__construct ( $x, $y ) | ||
__toString ( ) | ||
abs ( ) | ||
add ( $x, $y ) | ||
ceil ( ) | ||
createRandomDirection ( |
||
distance ( $x, $y ) | ||
distanceSquared ( $x, $y ) | ||
divide ( $number ) | ||
dot ( |
||
floor ( ) | ||
getFloorX ( ) | ||
getFloorY ( ) | ||
getX ( ) | ||
getY ( ) | ||
length ( ) | ||
lengthSquared ( ) | ||
multiply ( $number ) | ||
normalize ( ) | ||
round ( ) | ||
subtract ( $x, $y ) |
public static createRandomDirection ( |
||
$random |