You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
408 B
18 lines
408 B
package mightypork.gamecore.core.events;
|
|
|
|
|
|
/**
|
|
* Quit request listener; implementing client can abort shutdown.
|
|
*
|
|
* @author Ondřej Hruška (MightyPork)
|
|
*/
|
|
public interface ShutdownRequestListener {
|
|
|
|
/**
|
|
* Intercept shutdown request.<br>
|
|
* Consume the event to abort shutdown (ie. ask user to save).
|
|
*
|
|
* @param event quit request event.
|
|
*/
|
|
void onShutdownRequested(ShutdownRequest event);
|
|
}
|
|
|