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
387 B
18 lines
387 B
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.<br>
|
|
* Consume the event to abort shutdown (ie. ask user to save)
|
|
*
|
|
* @param event quit request event.
|
|
*/
|
|
void onShutdown(ShutdownEvent event);
|
|
}
|
|
|