Class SizeByAction
- 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.SizeByAction
-
- All Implemented Interfaces:
Pool.Poolable
public class SizeByAction extends RelativeTemporalAction
Moves an actor from its current size to a relative size.
-
-
Constructor Summary
Constructors Constructor Description SizeByAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetAmountHeight()floatgetAmountWidth()voidsetAmount(float width, float height)voidsetAmountHeight(float height)voidsetAmountWidth(float width)protected voidupdateRelative(float percentDelta)-
Methods inherited from class com.badlogic.gdx.scenes.scene2d.actions.RelativeTemporalAction
begin, update
-
Methods inherited from class com.badlogic.gdx.scenes.scene2d.actions.TemporalAction
act, end, finish, getDuration, getInterpolation, getTime, isComplete, isReverse, reset, restart, setDuration, setInterpolation, setReverse, setTime
-
-
-
-
Method Detail
-
updateRelative
protected void updateRelative(float percentDelta)
- Specified by:
updateRelativein classRelativeTemporalAction
-
setAmount
public void setAmount(float width, float height)
-
getAmountWidth
public float getAmountWidth()
-
setAmountWidth
public void setAmountWidth(float width)
-
getAmountHeight
public float getAmountHeight()
-
setAmountHeight
public void setAmountHeight(float height)
-
-