package mightypork.gamecore.core.events; /** * Quit request listener; implementing client can abort shutdown. * * @author Ondřej Hruška (MightyPork) */ public interface ShutdownListener { /** * Intercept quit request.
* Consume the event to abort shutdown (ie. ask user to save) * * @param event quit request event. */ void onShutdown(ShutdownEvent event); }