libgdx API

com.badlogic.gdx.scenes.scene2d
Class CompositeAction

java.lang.Object
  extended by com.badlogic.gdx.scenes.scene2d.Action
      extended by com.badlogic.gdx.scenes.scene2d.CompositeAction
Direct Known Subclasses:
Parallel, Sequence

public abstract class CompositeAction
extends Action

A base class for composite actions which deals with multiple child Action.

Author:
Moritz Post

Field Summary
protected  java.util.ArrayList<Action> actions
           
 
Fields inherited from class com.badlogic.gdx.scenes.scene2d.Action
listener
 
Constructor Summary
CompositeAction()
           
 
Method Summary
 java.util.ArrayList<Action> getActions()
          Gets all target Actions which are affected by the composite action.
 
Methods inherited from class com.badlogic.gdx.scenes.scene2d.Action
act, callActionCompletedListener, copy, finish, getCompletionListener, getTarget, isDone, reset, setCompletionListener, setTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actions

protected final java.util.ArrayList<Action> actions
Constructor Detail

CompositeAction

public CompositeAction()
Method Detail

getActions

public java.util.ArrayList<Action> getActions()
Gets all target Actions which are affected by the composite action.

Returns:
the Actions orchestrated by this CompositeAction

libgdx API

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