diff --git a/megamek/src/megamek/client/bot/ui/swing/BotGUI.java b/megamek/src/megamek/client/bot/ui/swing/BotGUI.java
index 89c273b5471..84ab2208cd8 100644
--- a/megamek/src/megamek/client/bot/ui/swing/BotGUI.java
+++ b/megamek/src/megamek/client/bot/ui/swing/BotGUI.java
@@ -134,7 +134,7 @@ public void gameClientFeedbackRequest(GameCFREvent evt) {
}
@Override
- public void gameVictory(GameVictoryEvent e) {
+ public void gameVictory(PostGameResolution e) {
}
}
diff --git a/megamek/src/megamek/client/ui/swing/AbstractPhaseDisplay.java b/megamek/src/megamek/client/ui/swing/AbstractPhaseDisplay.java
index a0a7dfd1798..4239e5a8082 100644
--- a/megamek/src/megamek/client/ui/swing/AbstractPhaseDisplay.java
+++ b/megamek/src/megamek/client/ui/swing/AbstractPhaseDisplay.java
@@ -219,7 +219,7 @@ public void gameNewAction(GameNewActionEvent e) { }
public void gameClientFeedbackRequest(GameCFREvent evt) { }
@Override
- public void gameVictory(GameVictoryEvent e) { }
+ public void gameVictory(PostGameResolution e) { }
//endregion
}
diff --git a/megamek/src/megamek/client/ui/swing/AccessibilityWindow.java b/megamek/src/megamek/client/ui/swing/AccessibilityWindow.java
index 666eb3a5975..8040538ef4c 100644
--- a/megamek/src/megamek/client/ui/swing/AccessibilityWindow.java
+++ b/megamek/src/megamek/client/ui/swing/AccessibilityWindow.java
@@ -266,7 +266,7 @@ public void gameClientFeedbackRequest(GameCFREvent e) {
}
@Override
- public void gameVictory(GameVictoryEvent e) {
+ public void gameVictory(PostGameResolution e) {
systemEvent("Game Victory! (unneeded.)");
}
};
diff --git a/megamek/src/megamek/client/ui/swing/boardview/BoardViewSpriteHandler.java b/megamek/src/megamek/client/ui/swing/boardview/BoardViewSpriteHandler.java
index 2f012637793..6418829e8ba 100644
--- a/megamek/src/megamek/client/ui/swing/boardview/BoardViewSpriteHandler.java
+++ b/megamek/src/megamek/client/ui/swing/boardview/BoardViewSpriteHandler.java
@@ -121,6 +121,6 @@ public void gameNewAction(GameNewActionEvent e) { }
public void gameClientFeedbackRequest(GameCFREvent e) { }
@Override
- public void gameVictory(GameVictoryEvent e) { }
+ public void gameVictory(PostGameResolution e) { }
//endregion
}
diff --git a/megamek/src/megamek/client/ui/swing/forceDisplay/ForceDisplayPanel.java b/megamek/src/megamek/client/ui/swing/forceDisplay/ForceDisplayPanel.java
index 023e5a3c212..f14ca359ea4 100644
--- a/megamek/src/megamek/client/ui/swing/forceDisplay/ForceDisplayPanel.java
+++ b/megamek/src/megamek/client/ui/swing/forceDisplay/ForceDisplayPanel.java
@@ -331,7 +331,7 @@ public void gameClientFeedbackRequest(GameCFREvent evt) {
}
@Override
- public void gameVictory(GameVictoryEvent e) {
+ public void gameVictory(PostGameResolution e) {
// noaction default
}
diff --git a/megamek/src/megamek/common/event/GameListener.java b/megamek/src/megamek/common/event/GameListener.java
index cea1067ad0d..cc33f7ba769 100644
--- a/megamek/src/megamek/common/event/GameListener.java
+++ b/megamek/src/megamek/common/event/GameListener.java
@@ -23,7 +23,7 @@
* removed using the removeGameListener
method. When Game is
* changed the appropriate method will be invoked.
*
GamedEvent
s can extend this
* class and override only the methods which they are interested in.
*
- *
+ *
* @see GameListener
* @see GameEvent
*/
@@ -94,13 +94,13 @@ public void gameEntityChange(GameEntityChangeEvent e) {
@Override
public void gameNewAction(GameNewActionEvent e) {
}
-
+
@Override
public void gameClientFeedbackRequest(GameCFREvent evt) {
}
@Override
- public void gameVictory(GameVictoryEvent e) {
- }
+ public void gameVictory(PostGameResolution e) {
+ }
}
diff --git a/megamek/src/megamek/common/event/GameVictoryEvent.java b/megamek/src/megamek/common/event/GameVictoryEvent.java
index 6d0b98b11b1..7afa4ec0acc 100644
--- a/megamek/src/megamek/common/event/GameVictoryEvent.java
+++ b/megamek/src/megamek/common/event/GameVictoryEvent.java
@@ -29,7 +29,7 @@
* @see Game#end(int, int)
* @see GameListener
*/
-public class GameVictoryEvent extends GameEvent {
+public class GameVictoryEvent extends GameEvent implements PostGameResolution {
private static final long serialVersionUID = -8470655646019563063L;
/**
@@ -73,6 +73,7 @@ public String getEventName() {
/**
* @return an enumeration of all the entities in the game.
*/
+ @Override
public Enumeration