mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Bugs fixed - CardLists not initialized.
This commit is contained in:
@@ -1,27 +1,27 @@
|
|||||||
package forge;
|
package forge;
|
||||||
|
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
//import java.io.BufferedReader;
|
||||||
import java.io.File;
|
//import java.io.File;
|
||||||
import java.io.FileReader;
|
//import java.io.FileReader;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import forge.error.ErrorViewer;
|
//import forge.error.ErrorViewer;
|
||||||
import forge.properties.ForgeProps;
|
//import forge.properties.ForgeProps;
|
||||||
import forge.properties.NewConstants;
|
import forge.properties.NewConstants;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class ReadBoosterPack implements NewConstants {
|
public class ReadBoosterPack implements NewConstants {
|
||||||
|
|
||||||
final private static String comment = "//";
|
// final private static String comment = "//";
|
||||||
|
|
||||||
private CardList commonCreatureList;
|
private CardList commonCreatureList = new CardList();
|
||||||
private CardList commonNonCreatureList;
|
private CardList commonNonCreatureList = new CardList();
|
||||||
|
|
||||||
private CardList commonList;
|
private CardList commonList = new CardList();
|
||||||
private CardList uncommonList;
|
private CardList uncommonList = new CardList();
|
||||||
private CardList rareList;
|
private CardList rareList = new CardList();
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
//testing
|
//testing
|
||||||
@@ -262,7 +262,7 @@ public class ReadBoosterPack implements NewConstants {
|
|||||||
}//setup()
|
}//setup()
|
||||||
|
|
||||||
|
|
||||||
private CardList readFile(File file) {
|
/* private CardList readFile(File file) {
|
||||||
CardList cardList = new CardList();
|
CardList cardList = new CardList();
|
||||||
|
|
||||||
BufferedReader in;
|
BufferedReader in;
|
||||||
@@ -288,6 +288,7 @@ public class ReadBoosterPack implements NewConstants {
|
|||||||
|
|
||||||
return cardList;
|
return cardList;
|
||||||
}//readFile()
|
}//readFile()
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user