forked from External/mage
Added a game end dialog, that shows the result of the finished game.
This commit is contained in:
parent
19726268ff
commit
ae44981cfa
19 changed files with 922 additions and 4 deletions
|
|
@ -38,6 +38,8 @@ import org.apache.log4j.Logger;
|
|||
|
||||
import java.rmi.RemoteException;
|
||||
import java.util.UUID;
|
||||
import mage.game.match.Match;
|
||||
import mage.view.GameEndView;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -124,5 +126,9 @@ public class GameWatcher {
|
|||
public GameView getGameView() {
|
||||
return new GameView(game.getState(), game);
|
||||
}
|
||||
|
||||
public GameEndView getGameEndView(UUID playerId, Match match) {
|
||||
return new GameEndView(game.getState(), game, playerId, match);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue