Use injection instead of reflection for instance reloader.

This commit is contained in:
sansfromf0rtnite
2019-06-24 23:55:30 -07:00
parent 24ba855fbe
commit 093590255c
3 changed files with 11 additions and 15 deletions

View File

@@ -127,6 +127,13 @@ public interface Client extends GameShell
*/
GameState getGameState();
/**
* Sets the current game state.
*
* @param gameState new game state
*/
void setGameState(int gameState);
/**
* Gets the current logged in username.
*