/// <summary> /// Called when the QUIT input is used. /// </summary> /// <param name="sender">The sender.</param> /// <param name="args">The <see cref="MfGames.Input.ChainInputEventArgs"/> instance containing the event data.</param> private static void OnQuit(object sender, ChainInputEventArgs args) { Game.Instance.IsRunning = false; }
/// <summary> /// Called when the QUIT input is used. /// </summary> /// <param name="sender">The sender.</param> /// <param name="args">The <see cref="MfGames.Input.ChainInputEventArgs"/> instance containing the event data.</param> private static void OnQuit(object sender, ChainInputEventArgs args) { Game.Instance.IsRunning = false; }