mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 10:40:12 +08:00
Make power status properties abstract
This commit is contained in:
committed by
Christine Chen
Unverified
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.
|
||||
|
||||
Reference in New Issue
Block a user