forked from External/mage
Fixed that to allow watchers of a game to see the hand cards of players did not work correctly.
This commit is contained in:
parent
c0db6dfdc8
commit
c65adebc57
14 changed files with 129 additions and 68 deletions
|
|
@ -135,19 +135,6 @@ public class GameManager {
|
|||
}
|
||||
}
|
||||
|
||||
// public void removeSession(UUID userId) {
|
||||
// for (GameController controller: gameControllers.values()) {
|
||||
// controller.kill(userId);
|
||||
// }
|
||||
// }
|
||||
|
||||
// public void kill(UUID gameId, UUID userId) {
|
||||
// GameController gameController = gameControllers.get(gameId);
|
||||
// if (gameController != null) {
|
||||
// gameController.kill(userId);
|
||||
// }
|
||||
// }
|
||||
|
||||
public void cheat(UUID gameId, UUID userId, UUID playerId, DeckCardLists deckList) {
|
||||
GameController gameController = gameControllers.get(gameId);
|
||||
if (gameController != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue