public interface RoboRallyUI
Modifier and Type | Method and Description |
---|---|
InteractableGame |
getGame()
Gets the robo rally game being rendered by the UI
|
RoboRallyServer |
getServer()
Gets the servers used for receiving objects from clients
|
boolean |
isTesting()
Gets whether the game should be started in test mode
|
void |
quit(java.lang.String message)
Quits the game in whatever way is appropriate
|
void |
setGame(RoboRallyGame game)
Sets the robo rally game being rendered by the UI
|
void |
setShouldHurry(boolean shouldHurry)
Sets whether the client should hurry with whatever it's doing
|
InteractableGame getGame()
void setGame(RoboRallyGame game)
game
- The new robo rally game being renderedvoid quit(java.lang.String message)
message
- The message describing why the game quitRoboRallyServer getServer()
void setShouldHurry(boolean shouldHurry)
shouldHurry
- True if the user should hurryboolean isTesting()