public class ClientGame
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static ClientGameManager |
game |
private static Poller |
poller |
private static GSONServerProxy |
proxy |
| Constructor and Description |
|---|
ClientGame() |
| Modifier and Type | Method and Description |
|---|---|
static ServerProxy |
getCurrentProxy() |
static ClientGameManager |
getGame()
Gets the current game manager
|
static void |
startGameWithProxy(GSONServerProxy proxy)
This must be called before getting a game
|
static void |
startGameWithProxy(ServerProxy proxy)
Starting the game for testing purposes
|
static void |
startPolling()
Starts Polling
|
static void |
stopPolling()
Stops Polling
|
private static ClientGameManager game
private static GSONServerProxy proxy
private static Poller poller
public static ClientGameManager getGame()
public static void startGameWithProxy(GSONServerProxy proxy)
proxy - public static void startGameWithProxy(ServerProxy proxy)
proxy - public static ServerProxy getCurrentProxy()
public static void startPolling()
public static void stopPolling()