1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 21:43:22 +08:00

Mark nullable members

This commit is contained in:
smoogipoo 2020-08-27 23:16:54 +09:00
parent 29b29cde8e
commit 7002193165

View File

@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System; using System;
using JetBrains.Annotations;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Bindables; using osu.Framework.Bindables;
using osu.Framework.Graphics; using osu.Framework.Graphics;
@ -20,8 +21,13 @@ namespace osu.Game.Rulesets.Mania.Skinning
private readonly IBindable<ScrollingDirection> direction = new Bindable<ScrollingDirection>(); private readonly IBindable<ScrollingDirection> direction = new Bindable<ScrollingDirection>();
private readonly IBindable<bool> isHitting = new Bindable<bool>(); private readonly IBindable<bool> isHitting = new Bindable<bool>();
[CanBeNull]
private Drawable bodySprite; private Drawable bodySprite;
[CanBeNull]
private Drawable lightContainer; private Drawable lightContainer;
[CanBeNull]
private Drawable light; private Drawable light;
public LegacyBodyPiece() public LegacyBodyPiece()