using System;
using UnityEngine;
using Framework.Services;
namespace Framework.State {
/// Allows the game to be terminated
///
/// Mostly useful as a binding target for Unity's EventSystem.
///
public class QuitGameListener : ScriptComponent {
/// Terminates the game
public void QuitGame() {
Debug.Log("Quit called. Invoking Application.Quit().");
Application.Quit();
}
}
} // namespace Framework.State