pda
jvm
core
/
net.artux.pda.map.ecs.battle
/
BulletPool
Bullet
Pool
open
class
BulletPool
:
Pool
<
T
>
Members
Constructors
Bullet
Pool
Link copied to clipboard
@
Inject
constructor
(
assetManager
:
AssetManager
,
world
:
World
,
worldSystem
:
WorldSystem
,
logger
:
ApplicationLogger
)
Properties
max
Link copied to clipboard
val
max
:
Int
peak
Link copied to clipboard
open
var
peak
:
Int
Functions
clear
Link copied to clipboard
open
fun
clear
(
)
fill
Link copied to clipboard
open
fun
fill
(
size
:
Int
)
free
Link copied to clipboard
open
fun
free
(
object
:
Entity
)
free
All
Link copied to clipboard
open
fun
freeAll
(
objects
:
Array
<
T
>
)
get
Free
Link copied to clipboard
open
fun
getFree
(
)
:
Int
obtain
Link copied to clipboard
open
fun
obtain
(
)
:
Entity