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
|
|
@ -1551,6 +1551,15 @@ public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializa
|
|||
tableEventSource.fireTableEvent(EventType.UPDATE, null, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fireGameEndInfo() {
|
||||
if (simulation) {
|
||||
return;
|
||||
}
|
||||
logger.trace("fireGameEndIfo");
|
||||
tableEventSource.fireTableEvent(EventType.END_GAME_INFO, null, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fireErrorEvent(String message, Exception ex) {
|
||||
tableEventSource.fireTableEvent(EventType.ERROR, message, ex, this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue