libgdx API

com.badlogic.gdx.scenes.scene2d.actions
Class ActionResetingPool<T extends Action>

java.lang.Object
  extended by com.badlogic.gdx.utils.Pool<T>
      extended by com.badlogic.gdx.scenes.scene2d.actions.ActionResetingPool<T>
Type Parameters:
T - the type action to manage

public abstract class ActionResetingPool<T extends Action>
extends Pool<T>

A pool taking care of the Action life cycle and resets all its properties when obtained from this pool.

Author:
Moritz Post

Field Summary
 
Fields inherited from class com.badlogic.gdx.utils.Pool
max
 
Constructor Summary
ActionResetingPool(int initialCapacity, int max)
           
 
Method Summary
 T obtain()
          Returns an object from this pool.
 
Methods inherited from class com.badlogic.gdx.utils.Pool
clear, free, free, newObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionResetingPool

public ActionResetingPool(int initialCapacity,
                          int max)
Method Detail

obtain

public T obtain()
Description copied from class: Pool
Returns an object from this pool. The object may be new (from Pool.newObject()) or reused (previously freed).

Overrides:
obtain in class Pool<T extends Action>

libgdx API

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