Свойство | Type | Description | |
---|---|---|---|
direction | Vector2[] |
Méthode | Description | |
---|---|---|
Start ( ) : void | ||
Update ( ) : void | ||
abs ( Vector2 v ) : float | ||
areAligned ( Vector2 v ) : bool | ||
getDistance ( Vector2 v1, Vector2 v2 ) : int | ||
getNormal ( Vector2 v ) : Vector2 | ||
hexPositionTransform ( Vector2 v ) : Vector3 | ||
isNear ( Vector2 v1, Vector2 v2 ) : bool | ||
notOutOfBounds ( Vector2 v ) : bool | ||
posToVelocity ( List |
public getDistance ( Vector2 v1, Vector2 v2 ) : int | ||
v1 | Vector2 | |
v2 | Vector2 | |
Résultat | int |
public hexPositionTransform ( Vector2 v ) : Vector3 | ||
v | Vector2 | |
Résultat | Vector3 |
public isNear ( Vector2 v1, Vector2 v2 ) : bool | ||
v1 | Vector2 | |
v2 | Vector2 | |
Résultat | bool |
public posToVelocity ( List |
||
posSequence | List |
|
Résultat | List |