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, getStrength, hasEnded, hasReached, setCancelOnCollision, setCancelOnReached, setLocation, setStrengthpublic GravityForce(IEntity forceEntity, float strength, float angle)
public IEntity getForceEntity()
public java.awt.geom.Point2D getLocation()
ForcegetLocation in class Force