Package de.gurkenlabs.litiengine.physics
Class GravityForce
java.lang.Object
de.gurkenlabs.litiengine.physics.Force
de.gurkenlabs.litiengine.physics.GravityForce
-
Constructor Summary
ConstructorsConstructorDescriptionGravityForce(IEntity forceEntity, float strength, float angle) GravityForce(IEntity forceEntity, float strength, Direction direction) -
Method Summary
Modifier and TypeMethodDescriptionGets the force entity.Gets the location.Methods inherited from class de.gurkenlabs.litiengine.physics.Force
cancelOnCollision, cancelOnReached, end, getIdentifier, getStrength, hasEnded, hasReached, setCancelOnCollision, setCancelOnReached, setIdentifier, setLocation, setStrength, toString
-
Constructor Details
-
GravityForce
-
GravityForce
-
-
Method Details
-
getForceEntity
Gets the force entity.- Returns:
- the force entity
-
getLocation
Description copied from class:ForceGets the location.- Overrides:
getLocationin classForce- Returns:
- the location
-