com.badlogic.gdx.scenes.scene2d.actions
Class MoveByAction
java.lang.Object
com.badlogic.gdx.scenes.scene2d.Action
com.badlogic.gdx.scenes.scene2d.actions.TemporalAction
com.badlogic.gdx.scenes.scene2d.actions.RelativeTemporalAction
com.badlogic.gdx.scenes.scene2d.actions.MoveByAction
- All Implemented Interfaces:
- Pool.Poolable
public class MoveByAction
- extends RelativeTemporalAction
Moves an actor to a relative position.
- Author:
- Nathan Sweet
Fields inherited from class com.badlogic.gdx.scenes.scene2d.Action |
actor |
Methods inherited from class com.badlogic.gdx.scenes.scene2d.actions.TemporalAction |
act, end, finish, getDuration, getInterpolation, getTime, isReverse, reset, restart, setDuration, setInterpolation, setReverse, setTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MoveByAction
public MoveByAction()
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)
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)