Main.ModtestModEntry=/*entryPoint*/newMain().newMod();//this is retarded? we're making a new object of a certain type, why the fuck do you care where it comes from? static or regardless??
testModEntry.friendlyName="Example Mod";
testModEntry.game="2048";
testModEntry.path="unused";
testModEntry.version=1;
testModEntry.priority=0;//might discard this in favor of the list index for simplicity
testModEntry.loaderversion=0;
Main.Mods.add(testModEntry);
Main.Mods.add(testModEntry);
Main.Mods.add(testModEntry);
///-/////-///
InitializeModListInGUI();
frame.add(frameContainer);// initialize window contents -- will be handled by IntelliJ IDEA
frame.setSize(800,600);// 1280 800
frame.setTitle("Firestar Mod Manager");
frame.setResizable(true);
frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
frame.setLayout(newGridLayout());
frame.setVisible(true);
}
publicvoidInitializeModListInGUI(){// i really wanted this to be "lights, camera, action" but the code organizing kept getting stupider and stupider so i gave up
// cleanup
modList.clearSelection();
modList.removeAll();
// add text entry for each
inti=0;
System.out.println("Initializing modList to GUI with length of"+Main.Mods.size()+"units");//debug