1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 21:40:58 +08:00

Update xmlodc and add nullability attributes

This commit is contained in:
Salman Ahmed
2022-10-13 00:16:42 +03:00
Unverified
parent 6199db11a2
commit 4fb156ef4e
2 changed files with 2 additions and 3 deletions
+1
View File
@@ -499,6 +499,7 @@ namespace osu.Game.Rulesets.UI
/// <summary>
/// The cursor being displayed by the <see cref="Playfield"/>. May be null if no cursor is provided.
/// </summary>
[CanBeNull]
public abstract GameplayCursorContainer Cursor { get; }
/// <summary>
+1 -3
View File
@@ -202,14 +202,12 @@ namespace osu.Game.Rulesets.UI
/// <summary>
/// The cursor currently being used by this <see cref="Playfield"/>. May be null if no cursor is provided.
/// </summary>
[CanBeNull]
public GameplayCursorContainer Cursor { get; private set; }
/// <summary>
/// Provide a cursor which is to be used for gameplay.
/// </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>
protected virtual GameplayCursorContainer CreateCursor() => null;