public abstract class GameObjectPool extends com.badlogic.gdx.utils.Pool<GameObject>
Constructor and Description |
---|
GameObjectPool() |
Modifier and Type | Method and Description |
---|---|
abstract GameObject |
newObject()
Retrieves and returns a free GameObject in the pool or creates a new one if none are free.
|
public abstract GameObject newObject()
newObject
in class com.badlogic.gdx.utils.Pool<GameObject>