/// <summary> /// Exit the AoiZone /// </summary> /// <param name="key"></param> /// <param name="node"></param> public void Exit(AoiEntity node) { _xLinks.Remove(node.X.Value); _yLinks.Remove(node.Y.Value); _entityList.Remove(node.Key); node.Recycle(); }
/// <summary> /// Exit the AoiZone /// </summary> /// <param name="node"></param> public void Exit(AoiEntity node) { _xLinks.Remove(node.X); _yLinks.Remove(node.Y); _entityList.Remove(node.Key); node.Dispose(); }
/// <summary> /// Exit the AoiZone /// </summary> /// <param name="key"></param> /// <param name="node"></param> public void Exit(long key, AoiEntity node) { float x = node.X.Value, y = node.Y.Value; _xLinks.Remove(x); _yLinks.Remove(y); _entityList.Remove(key); }