mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
Restore editor clock time after difficulty switch
This commit is contained in:
19
osu.Game/Screens/Edit/EditorState.cs
Normal file
19
osu.Game/Screens/Edit/EditorState.cs
Normal file
@ -0,0 +1,19 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
#nullable enable
|
||||
|
||||
namespace osu.Game.Screens.Edit
|
||||
{
|
||||
/// <summary>
|
||||
/// Structure used to transport data between <see cref="Editor"/> instances on difficulty change.
|
||||
/// It's intended to be received by <see cref="EditorLoader"/> from one editor instance and passed down to the next one.
|
||||
/// </summary>
|
||||
public class EditorState
|
||||
{
|
||||
/// <summary>
|
||||
/// The current clock time when a difficulty switch was requested.
|
||||
/// </summary>
|
||||
public double? Time { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user