A game framework written with osu! in mind.

Add/improve xmldocs

+25 -4
+10
osu.Framework/Graphics/Performance/LifetimeEntry.cs
··· 5 6 namespace osu.Framework.Graphics.Performance 7 { 8 public class LifetimeEntry 9 { 10 private double lifetimeStart = double.MinValue; ··· 47 } 48 } 49 50 internal event RequestLifetimeUpdateDelegate RequestLifetimeUpdate; 51 52 /// <summary>
··· 5 6 namespace osu.Framework.Graphics.Performance 7 { 8 + /// <summary> 9 + /// An object for a <see cref="LifetimeEntryManager"/> to consume, which provides a <see cref="LifetimeStart"/> and <see cref="LifetimeEnd"/>. 10 + /// </summary> 11 + /// <remarks> 12 + /// Management of the object which the <see cref="LifetimeEntry"/> refers to is left up to the consumer. 13 + /// </remarks> 14 public class LifetimeEntry 15 { 16 private double lifetimeStart = double.MinValue; ··· 53 } 54 } 55 56 + /// <summary> 57 + /// Invoked when this <see cref="LifetimeEntry"/> is attached to a <see cref="LifetimeEntryManager"/> and either 58 + /// <see cref="LifetimeStart"/> or <see cref="LifetimeEnd"/> are changed. 59 + /// </summary> 60 internal event RequestLifetimeUpdateDelegate RequestLifetimeUpdate; 61 62 /// <summary>
+15 -4
osu.Framework/Graphics/Performance/LifetimeEntryState.cs
··· 3 4 namespace osu.Framework.Graphics.Performance 5 { 6 public enum LifetimeEntryState 7 { 8 - /// Not yet loaded. 9 New, 10 11 - /// Currently dead and becomes alive in the future: current time &lt; <see cref="Drawable.LifetimeStart"/>. 12 Future, 13 14 - /// Currently alive. 15 Current, 16 17 - /// Currently dead and becomes alive if the clock is rewound: <see cref="Drawable.LifetimeEnd"/> &lt;= current time. 18 Past, 19 } 20 }
··· 3 4 namespace osu.Framework.Graphics.Performance 5 { 6 + /// <summary> 7 + /// The state of a <see cref="LifetimeEntry"/>. 8 + /// </summary> 9 public enum LifetimeEntryState 10 { 11 + /// <summary> 12 + /// The <see cref="LifetimeEntry"/> hasn't been processed within the <see cref="LifetimeEntryManager"/> yet. 13 + /// </summary> 14 New, 15 16 + /// <summary> 17 + /// The <see cref="LifetimeEntry"/> is currently dead and becomes alive when current time &gt;= <see cref="LifetimeEntry.LifetimeStart"/>. 18 + /// </summary> 19 Future, 20 21 + /// <summary> 22 + /// The <see cref="LifetimeEntry"/> is currently alive. 23 + /// </summary> 24 Current, 25 26 + /// <summary> 27 + /// The <see cref="LifetimeEntry"/> is currently dead and becomes alive when current time &lt; <see cref="LifetimeEntry.LifetimeEnd"/>. 28 + /// </summary> 29 Past, 30 } 31 }