mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 08:03:52 +09:00
Update xmlodc and add nullability attributes
This commit is contained in:
@ -499,6 +499,7 @@ namespace osu.Game.Rulesets.UI
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The cursor being displayed by the <see cref="Playfield"/>. May be null if no cursor is provided.
|
/// The cursor being displayed by the <see cref="Playfield"/>. May be null if no cursor is provided.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[CanBeNull]
|
||||||
public abstract GameplayCursorContainer Cursor { get; }
|
public abstract GameplayCursorContainer Cursor { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -202,14 +202,12 @@ namespace osu.Game.Rulesets.UI
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The cursor currently being used by this <see cref="Playfield"/>. May be null if no cursor is provided.
|
/// The cursor currently being used by this <see cref="Playfield"/>. May be null if no cursor is provided.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[CanBeNull]
|
||||||
public GameplayCursorContainer Cursor { get; private set; }
|
public GameplayCursorContainer Cursor { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provide a cursor which is to be used for gameplay.
|
/// Provide a cursor which is to be used for gameplay.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
|
||||||
/// The default provided cursor is invisible when inside the bounds of the <see cref="Playfield"/>.
|
|
||||||
/// </remarks>
|
|
||||||
/// <returns>The cursor, or null to show the menu cursor.</returns>
|
/// <returns>The cursor, or null to show the menu cursor.</returns>
|
||||||
protected virtual GameplayCursorContainer CreateCursor() => null;
|
protected virtual GameplayCursorContainer CreateCursor() => null;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user