-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Game Systems #5445
Game Systems #5445
Conversation
Now has conflicts. |
megamek/src/megamek/common/Game.java
Outdated
@@ -115,7 +115,7 @@ public class Game extends AbstractGame implements Serializable, PlanetaryConditi | |||
private int victoryPlayerId = Player.PLAYER_NONE; | |||
private int victoryTeam = Player.TEAM_NONE; | |||
|
|||
private Hashtable<Integer, Vector<Entity>> deploymentTable = new Hashtable<>(); | |||
// private Hashtable<Integer, Vector<Entity>> deploymentTable = new Hashtable<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please clean this up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One commented line, and a few codeQL notices that should be cleaned up (I believe the style guide calls out @override
as being required).
Other than that, looks good - very exciting!
# Conflicts: # megamek/src/megamek/common/strategicBattleSystems/SBFGame.java # megamek/src/megamek/server/SBFGameManager.java
OK cleaned up. I believe the missing overrides were in the other PR, but I corrected them. Not seeing any warnings here. |
This is another step towards supporting other game types, oriented mostly towards SBF, but the AbstractGame and AbstractGameManager changes will benefit all. As before this PR should ideally not show any visible changes.
The code changes are:
I ran the tests, played a game with Princess and pulled these changes into MHQ and started a story arc fight. All seemed to work.