/// <summary> /// Handles the selected <see cref="DrawableHitObject"/>s being moved. /// </summary> /// <remarks> /// Just returning true is enough to allow <see cref="HitObject.StartTime"/> updates to take place. /// Custom implementation is only required if other attributes are to be considered, like changing columns. /// </remarks> /// <param name="moveEvent">The move event.</param> /// <returns> /// Whether any <see cref="DrawableHitObject"/>s could be moved. /// Returning true will also propagate StartTime changes provided by the closest <see cref="IPositionSnapProvider.SnapScreenSpacePositionToValidTime"/>. /// </returns> public virtual bool HandleMovement(MoveSelectionEvent moveEvent) => true;
/// <summary> /// Handles the selected items being moved. /// </summary> /// <remarks> /// Just returning true is enough to allow default movement to take place. /// Custom implementation is only required if other attributes are to be considered, like changing columns. /// </remarks> /// <param name="moveEvent">The move event.</param> /// <returns> /// Whether any items could be moved. /// </returns> public virtual bool HandleMovement(MoveSelectionEvent <T> moveEvent) => false;
/// <summary> /// Handles the selected <see cref="DrawableHitObject"/>s being moved. /// </summary> /// <param name="moveEvent">The move event.</param> public virtual void HandleMovement(MoveSelectionEvent moveEvent) { }