mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Move placement movement event to BlueprintContainer
This commit is contained in:
@ -108,6 +108,12 @@ namespace osu.Game.Rulesets.Edit
|
||||
placementHandler.EndPlacement(HitObject);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates the position of this <see cref="PlacementBlueprint"/> to a new screen-space position.
|
||||
/// </summary>
|
||||
/// <param name="screenSpacePosition">The screen-space position.</param>
|
||||
public abstract void UpdatePosition(Vector2 screenSpacePosition);
|
||||
|
||||
/// <summary>
|
||||
/// Invokes <see cref="Objects.HitObject.ApplyDefaults(ControlPointInfo,BeatmapDifficulty)"/>,
|
||||
/// refreshing <see cref="Objects.HitObject.NestedHitObjects"/> and parameters for the <see cref="HitObject"/>.
|
||||
@ -125,7 +131,7 @@ namespace osu.Game.Rulesets.Edit
|
||||
case ScrollEvent _:
|
||||
return false;
|
||||
|
||||
case MouseEvent _:
|
||||
case MouseButtonEvent _:
|
||||
return true;
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user