Add exports for GameEngine#shutDown

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2018-08-06 20:14:13 +02:00
parent 6cd71a9a34
commit 4a3fcd2f45
2 changed files with 8 additions and 0 deletions

View File

@@ -51,4 +51,9 @@ public interface GameEngine
* @return true if on the main thread, false otherwise
*/
boolean isClientThread();
/**
* Shut downs all open connections and files in client and serializes not serialized data.
*/
void shutDown();
}

View File

@@ -33,4 +33,7 @@ public interface RSGameEngine extends GameEngine, KeyFocusListener
{
@Import("canvas")
Canvas getCanvas();
@Import("shutDown")
void shutDown();
}