public interface GameStoppingEvent extends GameStateEvent
GameState.GAME_STOPPING
event. The game is stopping,
all network connections should be closed, all plugins should prepare for
shutdown, closing all files.
Note: In the case that the JVM is terminated, this state may never be reached.
Modifier and Type | Method and Description |
---|---|
default GameState |
getState()
Gets the
GameState that this event represents. |
getCause, getContext, getSource
default GameState getState()
GameStateEvent
GameState
that this event represents.getState
in interface GameStateEvent