using UnityEngine;
namespace Quadtree.Items
{
///
/// Mandatory interface of any quadtree item.
///
public interface IItem
where TItem : IItem
where TNode : INode
{
///
/// Returns object bounds.
///
///
/// Object box bounds.
Bounds GetBounds();
///
/// Node which currently contains the item.
///
TNode ParentNode { get; set; }
///
/// Receiver method for broadcasted tree initialization message.
///
void QuadTree_Root_Initialized(IQuadtreeRoot root);
}
}