* Some changes to game handling to support replay in the future (not working yet).

This commit is contained in:
LevelX2 2014-02-07 16:07:15 +01:00
parent 9a15bdb933
commit e6f55d3b80
10 changed files with 55 additions and 37 deletions

View file

@ -73,5 +73,8 @@ public class ReplayManager {
replaySessions.get(gameId.toString() + userId.toString()).next(moves);
}
public void endReplay(UUID gameId, UUID userId) {
replaySessions.remove(gameId.toString() + userId.toString());
}
}