QuadTreeNodeDebugInfo class

Public interface to QuadTree internal data structures.

Allows to read a node's data without risk of affecting the outcome of collisions. Use QuadTreeNodeDebugInfo.init to initialize the class for the current collision detection. You need only this instance to get all another nodes and hitboxes using nodes and the allElements / ownElements methods. Use rect to get node's computed box; The class might be useful to render debugging info. See examples for details.

Properties

allElements List<ShapeHitbox>
no setter
cd QuadTreeCollisionDetection
final
hashCode int
The hash code for this object.
no setterinherited
id int
no setter
noChildren bool
no setter
node QuadTreeNode<Hitbox>
final
nodes List<QuadTreeNodeDebugInfo>
no setter
ownElements List<ShapeHitbox>
no setter
rect Rect
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited