|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Vector | |
---|---|
moagg.game.control | |
moagg.game.control.handler | |
moagg.game.control.handler.physic | |
moagg.model.object | |
moagg.model.object.sprite | |
moagg.types.math | |
moagg.util.math |
Uses of Vector in moagg.game.control |
---|
Methods in moagg.game.control that return Vector | |
---|---|
Vector |
GameControl.getGravityFor(MoaggGameObject object)
Since the playground's gravity may vary depending on the game object's position, this method shall be used to determine the object's current gravity vector. |
Vector |
AbstractGameControlImpl.getGravityFor(MoaggGameObject object)
|
Vector |
GameControl.getStreamSpeedFor(MoaggGameObject object)
Since the playground's stream speed may vary depending on the game object's position, this method shall be used to determine the object's current stream speed vector. |
Vector |
AbstractGameControlImpl.getStreamSpeedFor(MoaggGameObject object)
|
Methods in moagg.game.control with parameters of type Vector | |
---|---|
void |
GameControl.addGravity(Rectangle r,
Vector gravity)
This method shall be used to change the gravity matrix of the playground. |
void |
AbstractGameControlImpl.addGravity(Rectangle r,
Vector gravity)
|
void |
GameControl.addStreamSpeed(Rectangle r,
Vector stream)
This method shall be used to change the stream speed matrix of the playground. |
void |
AbstractGameControlImpl.addStreamSpeed(Rectangle r,
Vector stream)
|
Uses of Vector in moagg.game.control.handler |
---|
Methods in moagg.game.control.handler that return Vector | |
---|---|
protected Vector |
GravityUpdateHandler.getGravityVector(Magnet magnet)
|
protected Vector |
CreateFountainParticlesHandler.getInitialParticleSpeed(Fountain fountain)
|
Uses of Vector in moagg.game.control.handler.physic |
---|
Methods in moagg.game.control.handler.physic that return Vector | |
---|---|
protected Vector |
AbstractPhysicImpl.getThrustAcceleration(ControllableObject object,
long elapsedTime)
|
Uses of Vector in moagg.model.object |
---|
Methods in moagg.model.object that return Vector | |
---|---|
Vector |
MoaggGameObject.getSpeed()
|
Methods in moagg.model.object with parameters of type Vector | |
---|---|
void |
MoaggGameObject.setSpeed(Vector speed)
|
Uses of Vector in moagg.model.object.sprite |
---|
Methods in moagg.model.object.sprite that return Vector | |
---|---|
Vector |
AbstractMoaggSprite.getSpeed()
|
Vector |
AbstractMoaggAnimatedSprite.getSpeed()
|
Methods in moagg.model.object.sprite with parameters of type Vector | |
---|---|
void |
AbstractMoaggSprite.addSpeed(Vector speed)
|
void |
AbstractMoaggAnimatedSprite.addSpeed(Vector speed)
|
void |
Grinder.addWaypoint(Vector waypoint)
|
double |
Missile.getTargetAngle(double targetAngle,
Vector g)
|
void |
AbstractMoaggSprite.setSpeed(Vector speed)
|
void |
AbstractMoaggAnimatedSprite.setSpeed(Vector speed)
|
Uses of Vector in moagg.types.math |
---|
Methods in moagg.types.math that return Vector | |
---|---|
static Vector |
Vector.add(Vector v1,
Vector v2)
|
static Vector |
Vector.exp(double absValue,
double angle)
|
static Vector |
Vector.mul(Vector v,
double scale)
|
static Vector |
Vector.sub(Vector v1,
Vector v2)
|
Methods in moagg.types.math with parameters of type Vector | |
---|---|
void |
Vector.add(Vector v)
|
static Vector |
Vector.add(Vector v1,
Vector v2)
|
static double |
Vector.distance(Vector v1,
Vector v2)
|
static Vector |
Vector.mul(Vector v,
double scale)
|
void |
Vector.sub(Vector v)
|
static Vector |
Vector.sub(Vector v1,
Vector v2)
|
Constructors in moagg.types.math with parameters of type Vector | |
---|---|
Vector(Vector v)
|
Uses of Vector in moagg.util.math |
---|
Methods in moagg.util.math with parameters of type Vector | |
---|---|
static double |
AngleUtil.getAngle(Vector v1,
Vector v2)
Calculates the angle between v1 and v2. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |