/// <summary>
        /// Adds a collidable to the manager.
        /// </summary>
        /// <param name="collidable"></param>
        public void AddCollidable(ICollidable collidable)
        {
            var c = new CollidableAABB(collidable);

            foreach (CollidablePoint p in c.Points)
            {
                AddPoint(p);
            }
            if (collidable is IComponent comp)
            {
                _aabbs.Add(c, comp.Owner);
            }
            else
            {
                _aabbs.Add(c, null);
            }
        }
 public CollidablePoint(CollidablePointIndex index, Vector2f coordinates, CollidableAABB parentAABB)
 {
     Index       = index;
     Coordinates = coordinates;
     ParentAABB  = parentAABB;
 }