forked from External/mage
* Some changes to game handling to support replay in the future (not working yet).
This commit is contained in:
parent
9a15bdb933
commit
e6f55d3b80
10 changed files with 55 additions and 37 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue