libgdx API

com.badlogic.gdx.scenes.scene2d.actions
Class SizeByAction

java.lang.Object
  extended by com.badlogic.gdx.scenes.scene2d.Action
      extended by com.badlogic.gdx.scenes.scene2d.actions.TemporalAction
          extended by com.badlogic.gdx.scenes.scene2d.actions.RelativeTemporalAction
              extended by 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

Field Summary
 
Fields inherited from class com.badlogic.gdx.scenes.scene2d.Action
actor
 
Constructor Summary
SizeByAction()
           
 
Method Summary
 float getAmountHeight()
           
 float getAmountWidth()
           
 void setAmount(float width, float height)
           
 void setAmountHeight(float height)
           
 void setAmountWidth(float width)
           
protected  void updateRelative(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, isReverse, reset, restart, setDuration, setInterpolation, setReverse, setTime
 
Methods inherited from class com.badlogic.gdx.scenes.scene2d.Action
getActor, getPool, setActor, setPool, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SizeByAction

public SizeByAction()
Method Detail

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)

libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)