This commit is contained in:
BetaSteward 2010-04-16 03:51:49 +00:00
parent 7e16c0ff81
commit 9013591805
9 changed files with 111 additions and 118 deletions

View file

@ -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) {