com.badlogic.gdx.scenes.scene2d.actions
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.
- 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 |
SizeByAction
public SizeByAction()
updateRelative
protected void updateRelative(float percentDelta)
- Specified by:
updateRelative
in class RelativeTemporalAction
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)
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)