java.lang.Object
me.arcademadness.omni_dungeon.environment.services.MovementService
public class MovementService
extends Object
-
Constructor Summary
Constructors
-
Method Summary
void
move(Entity entity,
com.badlogic.gdx.math.Vector2 direction)
Queue a movement request for this entity.
void
Process movement for all entities every game tick.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
move
public void move(Entity entity,
com.badlogic.gdx.math.Vector2 direction)
Queue a movement request for this entity.
If already queued, it will override the previous request.
-
tick
public void tick(float delta)
Process movement for all entities every game tick.