Improvements and extensions to Card based random deck generator. Now randomly picks a second keycard to build the deck around too. Also I have now included all non-AI playable decks in the model (the AI still excludes the non-AI playables from the decks it builds). There are now 10x more decks in the model including the latest decks from pro tour AKH. The format of the .dat files has now changed - so these new dat files need to be redeployed if you are manually installing on Android.

This commit is contained in:
austinio7116
2017-05-17 08:23:47 +00:00
parent 1bc868c0c9
commit dde9f064ab
13 changed files with 183 additions and 57 deletions

View File

@@ -153,7 +153,7 @@ public class FDeckChooser extends JPanel implements IDecksComboBoxListener {
private void updateMatrix(GameFormat format) {
lstDecks.setAllowMultipleSelections(false);
lstDecks.setPool(CardThemedDeckGenerator.getMatrixDecks(format));
lstDecks.setPool(CardThemedDeckGenerator.getMatrixDecks(format, isAi));
lstDecks.setup(ItemManagerConfig.STRING_ONLY);
btnRandom.setText("Random");

View File

@@ -118,8 +118,8 @@ public class FDeckViewer extends FDialog {
}
});
final int width = 800;
final int height = 600;
final int width = 1920;
final int height = 1080;
this.setPreferredSize(new Dimension(width, height));
this.setSize(width, height);