mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 12:53:11 +08:00
Adjust documentation
This commit is contained in:
parent
2b947a44da
commit
3d85dc11c6
@ -22,7 +22,8 @@ namespace osu.Game.Utils
|
|||||||
public virtual bool IsCharging { get; } = false;
|
public virtual bool IsCharging { get; } = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns true if <see cref="IsCharging"/> = false and <see cref="ChargeLevel"/> <= <see cref="BatteryCutoff"/>.
|
/// Whether the battery is currently low in charge.
|
||||||
|
/// Returns true if not charging and current charge level is lower than or equal to <see cref="BatteryCutoff"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsLowBattery => !IsCharging && ChargeLevel <= BatteryCutoff;
|
public bool IsLowBattery => !IsCharging && ChargeLevel <= BatteryCutoff;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user