public class GravityForce extends Force
Constructor and Description |
---|
GravityForce(IEntity forceEntity,
float strength,
Direction direction) |
GravityForce(IEntity forceEntity,
float strength,
float angle) |
Modifier and Type | Method and Description |
---|---|
IEntity |
getForceEntity()
Gets the force entity.
|
java.awt.geom.Point2D |
getLocation()
Gets the location.
|
cancelOnCollision, cancelOnReached, end, getIdentifier, getStrength, hasEnded, hasReached, setCancelOnCollision, setCancelOnReached, setIdentifier, setLocation, setStrength, toString
public GravityForce(IEntity forceEntity, float strength, float angle)
public IEntity getForceEntity()
public java.awt.geom.Point2D getLocation()
Force
getLocation
in class Force