forked from External/mage
latest
This commit is contained in:
parent
ee760de985
commit
1e292afb69
11 changed files with 69 additions and 65 deletions
|
|
@ -69,7 +69,7 @@ public class Client implements CallbackClient {
|
|||
gameStarted(data[0], data[1]);
|
||||
}
|
||||
else if (callback.getMethod().equals("replayGame")) {
|
||||
replayGame((UUID) callback.getData());
|
||||
replayGame();
|
||||
}
|
||||
else if (callback.getMethod().equals("watchGame")) {
|
||||
watchGame((UUID) callback.getData());
|
||||
|
|
@ -158,9 +158,9 @@ public class Client implements CallbackClient {
|
|||
logger.info("Watching game " + gameId);
|
||||
}
|
||||
|
||||
protected void replayGame(UUID gameId) {
|
||||
frame.replayGame(gameId);
|
||||
logger.info("Replaying game " + gameId);
|
||||
protected void replayGame() {
|
||||
frame.replayGame();
|
||||
logger.info("Replaying game");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue