mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Removed some of my own legacy commenting.
This commit is contained in:
@@ -118,11 +118,10 @@ public final class FControl {
|
|||||||
clearChildren(JLayeredPane.DEFAULT_LAYER);
|
clearChildren(JLayeredPane.DEFAULT_LAYER);
|
||||||
this.state = i0;
|
this.state = i0;
|
||||||
|
|
||||||
/// out out out ghandi asdf
|
/// TODO should these be here?
|
||||||
Singletons.getView().removeWindowListener(waConcede);
|
Singletons.getView().removeWindowListener(waConcede);
|
||||||
Singletons.getView().removeWindowListener(waLeaveBazaar);
|
Singletons.getView().removeWindowListener(waLeaveBazaar);
|
||||||
Singletons.getView().addWindowListener(waDefault);
|
Singletons.getView().addWindowListener(waDefault);
|
||||||
////////////////
|
|
||||||
|
|
||||||
// Fire up new state
|
// Fire up new state
|
||||||
switch (i0) {
|
switch (i0) {
|
||||||
|
|||||||
@@ -132,7 +132,6 @@ public class DeckEditorDraft extends DeckEditorBase {
|
|||||||
ForgeProps.getLocalized(GuiBoosterDraft.CLOSE_MESSAGE), "", JOptionPane.YES_NO_OPTION);
|
ForgeProps.getLocalized(GuiBoosterDraft.CLOSE_MESSAGE), "", JOptionPane.YES_NO_OPTION);
|
||||||
if (n == JOptionPane.YES_OPTION) {
|
if (n == JOptionPane.YES_OPTION) {
|
||||||
DeckEditorDraft.this.dispose();
|
DeckEditorDraft.this.dispose();
|
||||||
// ghandi why is draft controller in a view
|
|
||||||
Singletons.getView().getHomeView().getDraftController().updateHumanDecks();
|
Singletons.getView().getHomeView().getDraftController().updateHumanDecks();
|
||||||
}
|
}
|
||||||
} // windowClosing()
|
} // windowClosing()
|
||||||
@@ -350,7 +349,6 @@ public class DeckEditorDraft extends DeckEditorBase {
|
|||||||
// close and open next screen
|
// close and open next screen
|
||||||
this.dispose();
|
this.dispose();
|
||||||
|
|
||||||
// ghandi here is is again
|
|
||||||
Singletons.getView().getHomeView().getDraftController().updateHumanDecks();
|
Singletons.getView().getHomeView().getDraftController().updateHumanDecks();
|
||||||
|
|
||||||
} /* saveDraft() */
|
} /* saveDraft() */
|
||||||
|
|||||||
@@ -274,7 +274,6 @@ public class ViewTabber extends JPanel {
|
|||||||
@Override
|
@Override
|
||||||
public void mouseEntered(final MouseEvent e) {
|
public void mouseEntered(final MouseEvent e) {
|
||||||
Singletons.getControl().getMatchControl().setCard(spell.getSpellAbility().getSourceCard());
|
Singletons.getControl().getMatchControl().setCard(spell.getSpellAbility().getSourceCard());
|
||||||
// ghandi does this work?
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user