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.
19 lines
387 B
19 lines
387 B
10 years ago
|
package mightypork.gamecore.core.events;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Quit request listener; implementing client can abort shutdown.
|
||
|
*
|
||
10 years ago
|
* @author Ondřej Hruška (MightyPork)
|
||
10 years ago
|
*/
|
||
10 years ago
|
public interface ShutdownListener {
|
||
10 years ago
|
|
||
10 years ago
|
/**
|
||
|
* Intercept quit request.<br>
|
||
|
* Consume the event to abort shutdown (ie. ask user to save)
|
||
|
*
|
||
|
* @param event quit request event.
|
||
|
*/
|
||
10 years ago
|
void onShutdown(ShutdownEvent event);
|
||
10 years ago
|
}
|