PackNode

class PackNode(val area: IntRectangle, val parent: PackNode? = null)

Constructors

Link copied to clipboard
fun PackNode(area: IntRectangle, parent: PackNode? = null)

Functions

Link copied to clipboard
fun hasTakenDecendents(): Boolean
Link copied to clipboard
fun isLeaf(): Boolean
Link copied to clipboard
fun populate(data: Any? = null)

Properties

Link copied to clipboard
val area: IntRectangle
Link copied to clipboard
var children: List<PackNode>
Link copied to clipboard
var data: Any? = null
Link copied to clipboard
var freeArea: IntVector2
Link copied to clipboard
val parent: PackNode? = null
Link copied to clipboard
var taken: Boolean = false

Sources

Link copied to clipboard