|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Vector2 | |
---|---|
data | |
logic | |
ui |
Uses of Vector2 in data |
---|
Methods in data that return Vector2 | |
---|---|
Vector2 |
Vector2.add(Vector2 other)
adds this to other vector and stores result in this |
Vector2 |
Vector2.clone()
copies the value of this and returns a clone |
Vector2 |
Sprite.getPosition()
returns the position of the Sprite (middle) |
Vector2 |
Vector2.mult(float scalar)
multiplies this with scalar and stores result in this |
Vector2 |
Vector2.normalize()
normalizes this vector |
Vector2 |
Vector2.sub(Vector2 other)
|
Vector2 |
Vector2.subThisFrom(Vector2 other)
subtracts this from other and stores result in this |
Methods in data with parameters of type Vector2 | |
---|---|
Vector2 |
Vector2.add(Vector2 other)
adds this to other vector and stores result in this |
float |
Vector2.distance(Vector2 other)
calculates the distance between the two points specified by this vector and other |
Vector2 |
Vector2.sub(Vector2 other)
|
Vector2 |
Vector2.subThisFrom(Vector2 other)
subtracts this from other and stores result in this |
Constructors in data with parameters of type Vector2 | |
---|---|
Sprite(Vector2 pos,
Vector2 size,
java.lang.String filePath)
|
Uses of Vector2 in logic |
---|
Methods in logic with parameters of type Vector2 | |
---|---|
static Node |
Visualization.getNodeAt(Vector2 pos)
returns the node at a given euclidian position if one is there and run() is not running, otherwise returns null |
Uses of Vector2 in ui |
---|
Methods in ui with parameters of type Vector2 | |
---|---|
static void |
GUI.selectNodeAndPerformNodeAction(Vector2 pos)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |