QuadTreePool
arcade.QuadTreePool (Class)
Object pool for QuadTree instances to reduce garbage collection overhead.
Instance Members
arcade
create(x: Float, y: Float, width: Float, height: Float, ?maxObjects: Int = 10, ?maxLevels: Int = 4, ?level: Int = 0): QuadTree
Name | Type | Default |
---|---|---|
x |
Float | |
y |
Float | |
width |
Float | |
height |
Float | |
maxObjects |
Int | 10 |
maxLevels |
Int | 4 |
level |
Int | 0 |
Returns |
---|
QuadTree |
Name | Type |
---|---|
quadTree |
QuadTree |