Class SizeByAction
java.lang.Object
com.prineside.tdi2.scene2d.Action
com.prineside.tdi2.scene2d.actions.TemporalAction
com.prineside.tdi2.scene2d.actions.RelativeTemporalAction
com.prineside.tdi2.scene2d.actions.SizeByAction
- All Implemented Interfaces:
Pool.Poolable
Moves an actor from its current size to a relative size.
- Author:
- Nathan Sweet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatvoidsetAmount(float width, float height) voidsetAmountHeight(float height) voidsetAmountWidth(float width) Methods inherited from class com.prineside.tdi2.scene2d.actions.TemporalAction
act, finish, getDuration, getInterpolation, getTime, isComplete, isReverse, reset, restart, setDuration, setInterpolation, setReverse, setTime
-
Constructor Details
-
SizeByAction
public SizeByAction()
-
-
Method Details
-
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)
-