mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-27 06:58:34 +01:00
27 lines
1.1 KiB
C#
27 lines
1.1 KiB
C#
using Coroutine;
|
|
|
|
namespace MLEM.Startup {
|
|
/// <summary>
|
|
/// This class contains a set of events for the coroutine system that are automatically fired in <see cref="MlemGame"/>.
|
|
/// </summary>
|
|
public static class CoroutineEvents {
|
|
|
|
/// <summary>
|
|
/// This event is fired in <see cref="MlemGame.Draw"/>, before <see cref="MlemGame.DoDraw"/> is called.
|
|
/// </summary>
|
|
public static readonly Event PreUpdate = new Event();
|
|
/// <summary>
|
|
/// This event is fired in <see cref="MlemGame.Update"/>, after <see cref="MlemGame.DoUpdate"/> is called.
|
|
/// </summary>
|
|
public static readonly Event Update = new Event();
|
|
/// <summary>
|
|
/// This event is fired in <see cref="MlemGame.Draw"/>, before <see cref="MlemGame.DoDraw"/> is called.
|
|
/// </summary>
|
|
public static readonly Event PreDraw = new Event();
|
|
/// <summary>
|
|
/// This event is fired in <see cref="MlemGame.Draw"/>, after <see cref="MlemGame.DoDraw"/> is called.
|
|
/// </summary>
|
|
public static readonly Event Draw = new Event();
|
|
|
|
}
|
|
}
|