mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
gameType is now a Enum,
Deckeditors no longer save all decks on close (there may remain minor bugs) Deckeditors have mostly been cleaned of usage of global variables OldGuiNewGame updates deck comboboxes properly Download deck from tcgplayer feature temporary removed cleaned up some warnings
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package forge;
|
||||
|
||||
import forge.deck.Deck;
|
||||
import forge.game.GameType;
|
||||
import forge.game.limited.BoosterDraft_1;
|
||||
import forge.gui.deckeditor.DeckEditorDraft;
|
||||
|
||||
@@ -20,8 +21,8 @@ public class GuiBoosterDraftTest {
|
||||
*/
|
||||
@Test(groups = {"UnitTest", "fast"})
|
||||
public void GuiBoosterDraftTest1() {
|
||||
Constant.Runtime.GameType[0] = Constant.GameType.Draft;
|
||||
Constant.Runtime.HumanDeck[0] = new Deck(Constant.GameType.Sealed);
|
||||
Constant.Runtime.gameType = GameType.Draft;
|
||||
Constant.Runtime.HumanDeck[0] = new Deck(GameType.Sealed);
|
||||
|
||||
DeckEditorDraft g = new DeckEditorDraft();
|
||||
g.showGui(new BoosterDraft_1());
|
||||
|
||||
Reference in New Issue
Block a user