PlayerPool
abstract class PlayerPool<PLAYER : Any> @JvmOverloads constructor(@IntRange(from = 1) poolSize: Int = DEFAULT_POOL_SIZE)
Content copied to clipboard
Definition of a pool to provide PLAYER instance for the consumer.
Constructors
Link copied to clipboard
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Reset the internal state of the player instance before putting it back to the pool.