mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 23:43:03 +08:00
Make power status properties abstract
This commit is contained in:
parent
3d85dc11c6
commit
07ee1b4d0b
@ -12,14 +12,14 @@ namespace osu.Game.Utils
|
||||
/// <summary>
|
||||
/// The maximum battery level considered as low, from 0 to 1.
|
||||
/// </summary>
|
||||
public virtual double BatteryCutoff { get; } = 0;
|
||||
public abstract double BatteryCutoff { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The charge level of the battery, from 0 to 1.
|
||||
/// </summary>
|
||||
public virtual double ChargeLevel { get; } = 0;
|
||||
public abstract double ChargeLevel { get; }
|
||||
|
||||
public virtual bool IsCharging { get; } = false;
|
||||
public abstract bool IsCharging { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether the battery is currently low in charge.
|
||||
|
Loading…
Reference in New Issue
Block a user