|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.utils.Pool<T>
com.badlogic.gdx.scenes.scene2d.actions.ActionResetingPool<T>
T
- the type action to managepublic abstract class ActionResetingPool<T extends Action>
A pool taking care of the Action
life cycle and resets all its properties when obtained from this pool.
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 |
---|
public ActionResetingPool(int initialCapacity, int max)
Method Detail |
---|
public T obtain()
Pool
Pool.newObject()
) or reused (previously
freed
).
obtain
in class Pool<T extends Action>
|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |