diff --git a/src/cs/MonoGame.Extended.Collisions/QuadTree/QuadTree.cs b/src/cs/MonoGame.Extended.Collisions/QuadTree/QuadTree.cs
index bbb46990..1bf7bdab 100644
--- a/src/cs/MonoGame.Extended.Collisions/QuadTree/QuadTree.cs
+++ b/src/cs/MonoGame.Extended.Collisions/QuadTree/QuadTree.cs
@@ -8,10 +8,24 @@ namespace MonoGame.Extended.Collisions
///
public class Quadtree
{
+ ///
+ /// The default maximum depth.
+ ///
public const int DefaultMaxDepth = 7;
+
+ ///
+ /// The default maximum objects per node.
+ ///
public const int DefaultMaxObjectsPerNode = 25;
+ ///
+ /// Contains the children of this node.
+ ///
protected List Children = new List();
+
+ ///
+ /// Contains the data for this node in the quadtree.
+ ///
protected HashSet Contents = new HashSet();
///
@@ -24,9 +38,17 @@ namespace MonoGame.Extended.Collisions
NodeBounds = bounds;
}
+ ///
+ /// Gets or sets the current depth for this node in the quadtree.
+ ///
protected int CurrentDepth { get; set; }
+ ///
+ /// Gets or sets the maximum depth of the quadtree.
+ ///
protected int MaxDepth { get; set; } = DefaultMaxDepth;
-
+ ///
+ /// Gets or sets the maximum objects per node in this quadtree.
+ ///
protected int MaxObjectsPerNode { get; set; } = DefaultMaxObjectsPerNode;
///