Property | Type | Description | |
---|---|---|---|
direction | Vector2[] |
Method | 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 | |
return | int |
public hexPositionTransform ( Vector2 v ) : Vector3 | ||
v | Vector2 | |
return | Vector3 |
public isNear ( Vector2 v1, Vector2 v2 ) : bool | ||
v1 | Vector2 | |
v2 | Vector2 | |
return | bool |
public posToVelocity ( List |
||
posSequence | List |
|
return | List |