BulletPool

open class BulletPool : Pool<T>

Constructors

Link copied to clipboard
@Inject
constructor(assetManager: AssetManager, world: World, worldSystem: WorldSystem, logger: ApplicationLogger)

Properties

Link copied to clipboard
val max: Int
Link copied to clipboard
open var peak: Int

Functions

Link copied to clipboard
open fun clear()
Link copied to clipboard
open fun fill(size: Int)
Link copied to clipboard
open fun free(object: Entity)
Link copied to clipboard
open fun freeAll(objects: Array<T>)
Link copied to clipboard
open fun getFree(): Int
Link copied to clipboard
open fun obtain(): Entity