KernelAPI reference
Interface IEngineLifecycle
Namespace: MicroEngine.Kernel
Assembly: MicroEngine.Kernel.dll
Guide: Modules and the frame schedule
Engine events: the things that happen to a running game from outside its simulation. Raised on the game’s thread, between frames (before the frame that follows them), in the order they happened; handlers run in the order they subscribed.
public interface IEngineLifecycleFocusChanged
The game’s window gained (true) or lost (false) the input focus. Raised by hosts that report it.
event Action<bool>? FocusChangedEvent Type
QuitRequested
Something outside the game asked it to quit; a handler may Veto it.
event Action<QuitRequest>? QuitRequestedEvent Type
Resized
The drawing surface changed size. Raised by hosts that report it.
event Action<SurfaceResized>? ResizedEvent Type
Resumed
A suspended game came back; raised before its next frame.
event Action? ResumedEvent Type
Suspending
The system is taking the game away (a phone app sent to the background); nothing runs until Resumed.
event Action? Suspending