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
-
Method Summary
Modifier and TypeMethodDescriptionfloat
float
void
setAmount
(float width, float height) void
setAmountHeight
(float height) void
setAmountWidth
(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)
-