Further semantic organization of FModel.

Main is now free of any non-essential calls and methods.

FView now free of all non-view-related calls and methods.
This commit is contained in:
Doublestrike
2012-01-22 07:59:18 +00:00
parent a176b461ac
commit fa7eae22c3
3 changed files with 144 additions and 164 deletions

View File

@@ -15,9 +15,9 @@ import forge.CardList;
import forge.card.cardfactory.CardFactoryInterface;
import forge.card.cardfactory.LazyCardFactory;
import forge.card.cardfactory.PreloadingCardFactory;
import forge.model.FModel;
import forge.properties.ForgeProps;
import forge.properties.NewConstants;
import forge.view.Main;
//import net.slightlymagic.braids.testng.BraidsAssertFunctions;
@@ -44,7 +44,7 @@ public class CardFactoryTest {
*/
@BeforeMethod
public final void setUp() {
Main.loadDynamicGamedata();
FModel.loadDynamicGamedata();
this.factory = new LazyCardFactory(ForgeProps.getFile(NewConstants.CARDSFOLDER));
}