mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-15 03:20:30 +00:00
28 lines
765 B
C#
28 lines
765 B
C#
// 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.
|
|
|
|
namespace osu.Framework.Screens
|
|
{
|
|
/// <summary>
|
|
/// Denotes a screen transition event.
|
|
/// </summary>
|
|
public class ScreenTransitionEvent
|
|
{
|
|
/// <summary>
|
|
/// The <see cref="IScreen"/> which has been transitioned from.
|
|
/// </summary>
|
|
public IScreen? Last { get; }
|
|
|
|
/// <summary>
|
|
/// The <see cref="IScreen"/> which has been transitioned to.
|
|
/// </summary>
|
|
public IScreen Next { get; }
|
|
|
|
public ScreenTransitionEvent(IScreen? last, IScreen next)
|
|
{
|
|
Last = last;
|
|
Next = next;
|
|
}
|
|
}
|
|
}
|