ObjectPool

object ObjectPool

An object pool used to store the game objects like UI, player, enemies, bullets and so on.

Author

KKoishi_

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun clearAll()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun player(): Player
fun player(p: Player)
Link copied to clipboard
fun removeBullet(index: Int)
Link copied to clipboard
fun removeObject(index: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard