Class TranslateByAction

All Implemented Interfaces:
Pool.Poolable

public class TranslateByAction extends RelativeTemporalAction
Moves an actor to a relative position.
  • Constructor Details

    • TranslateByAction

      public TranslateByAction()
  • Method Details

    • updateRelative

      protected void updateRelative(float percentDelta)
      Specified by:
      updateRelative in class RelativeTemporalAction
    • setAmount

      public void setAmount(float x, float y)
    • getAmountX

      public float getAmountX()
    • setAmountX

      public void setAmountX(float x)
    • getAmountY

      public float getAmountY()
    • setAmountY

      public void setAmountY(float y)