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
|
|
@ -249,12 +249,12 @@ public class TableManager {
|
|||
return false;
|
||||
}
|
||||
|
||||
public boolean replayTable(UUID userId, UUID tableId) {
|
||||
if (controllers.containsKey(tableId)) {
|
||||
return controllers.get(tableId).replayTable(userId);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
// public boolean replayTable(UUID userId, UUID tableId) {
|
||||
// if (controllers.containsKey(tableId)) {
|
||||
// return controllers.get(tableId).replayTable(userId);
|
||||
// }
|
||||
// return false;
|
||||
// }
|
||||
|
||||
public void endGame(UUID tableId) {
|
||||
if (controllers.containsKey(tableId)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue