2020-12-23 08:39:08 +00:00
|
|
|
// 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.Game.Screens.Play
|
|
|
|
{
|
|
|
|
public class PlayerConfiguration
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Whether pausing should be allowed. If not allowed, attempting to pause will quit.
|
|
|
|
/// </summary>
|
|
|
|
public bool AllowPause { get; set; } = true;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Whether results screen should be pushed on completion.
|
|
|
|
/// </summary>
|
|
|
|
public bool ShowResults { get; set; } = true;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Whether the player should be allowed to trigger a restart.
|
|
|
|
/// </summary>
|
|
|
|
public bool AllowRestart { get; set; } = true;
|
2020-12-24 07:29:51 +00:00
|
|
|
|
|
|
|
/// <summary>
|
2021-04-16 04:59:10 +00:00
|
|
|
/// Whether the player should be allowed to skip intros/outros, advancing to the start of gameplay or the end of a storyboard.
|
2020-12-24 07:29:51 +00:00
|
|
|
/// </summary>
|
2021-04-16 04:59:10 +00:00
|
|
|
public bool AllowSkipping { get; set; } = true;
|
2020-12-23 08:39:08 +00:00
|
|
|
}
|
|
|
|
}
|