forked from External/mage
latest
This commit is contained in:
parent
7e16c0ff81
commit
9013591805
9 changed files with 111 additions and 118 deletions
|
|
@ -47,10 +47,10 @@ public class ReplayManager {
|
|||
|
||||
private ConcurrentHashMap<UUID, ReplaySession> replaySessions = new ConcurrentHashMap<UUID, ReplaySession>();
|
||||
|
||||
public void replayGame(UUID sessionId, UUID gameId) {
|
||||
ReplaySession replaySession = new ReplaySession(gameId, sessionId);
|
||||
public void replayGame(UUID sessionId, UUID tableId) {
|
||||
ReplaySession replaySession = new ReplaySession(tableId, sessionId);
|
||||
replaySessions.put(sessionId, replaySession);
|
||||
SessionManager.getInstance().getSession(sessionId).replayGame(gameId);
|
||||
SessionManager.getInstance().getSession(sessionId).replayGame();
|
||||
}
|
||||
|
||||
public void startReplay(UUID sessionId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue