mirror of
https://github.com/ppy/osu
synced 2025-02-03 11:51:54 +00:00
Update xmlodc and add nullability attributes
This commit is contained in:
parent
6199db11a2
commit
4fb156ef4e
@ -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>
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user