mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Some changes to logging.
This commit is contained in:
parent
2daae9fb47
commit
cc96a55523
7 changed files with 9 additions and 9 deletions
|
@ -257,7 +257,7 @@ public class AbilityPicker extends JXPanel implements MouseWheelListener {
|
|||
}
|
||||
|
||||
final String finalText = text;
|
||||
System.out.println(finalText);
|
||||
// System.out.println(finalText);
|
||||
|
||||
ImageRenderer2.super.setText(finalText);
|
||||
setCaretPosition(0);
|
||||
|
|
|
@ -296,10 +296,10 @@ public class DialogManager extends JComponent implements MouseListener,
|
|||
|
||||
public void mouseWheelMoved(MouseWheelEvent e) {
|
||||
int notches = e.getWheelRotation();
|
||||
System.out.println("outx:"+notches);
|
||||
if (currentDialog != null && currentDialog.equals(MTGDialogs.ChooseCommonDialog)) {
|
||||
System.out.println("out:"+1);
|
||||
}
|
||||
// System.out.println("outx:"+notches);
|
||||
// if (currentDialog != null && currentDialog.equals(MTGDialogs.ChooseCommonDialog)) {
|
||||
// System.out.println("out:"+1);
|
||||
// }
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -158,7 +158,7 @@ public class DeckGenerator {
|
|||
List<Card> spellCardPool = generateSpellCardPool(cardPoolSize, allowedColors, setsToUse);
|
||||
List<Card> landCardPool = generateNonBasicLandCardPool(MAX_NON_BASIC_SOURCE, allowedColors, setsToUse);
|
||||
|
||||
System.out.println("deck generator card pool: spells=" + spellCardPool.size() + ", lands=" + landCardPool.size());
|
||||
// System.out.println("deck generator card pool: spells=" + spellCardPool.size() + ", lands=" + landCardPool.size());
|
||||
|
||||
final List<String> setsToUseFinal = setsToUse;
|
||||
|
||||
|
|
|
@ -411,7 +411,7 @@ public class ConnectDialog extends MageDialog {
|
|||
List<String> servers = new ArrayList<String>();
|
||||
String inputLine;
|
||||
while ((inputLine = in.readLine()) != null) {
|
||||
System.out.println("Found server: " + inputLine);
|
||||
logger.info("Found server: " + inputLine);
|
||||
servers.add(inputLine);
|
||||
}
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ public class GuiDisplayUtil {
|
|||
|
||||
c.setLocation(x, y);
|
||||
} else {
|
||||
System.out.println("null");
|
||||
System.out.println("GuiDisplayUtil::keepComponentInsideScreen -> no GraphicsConfiguration");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -215,7 +215,6 @@ public class ManaSymbols {
|
|||
}
|
||||
replaced = replaced.replace("|source|", "{source}");
|
||||
replaced = replaced.replace("|this|", "{this}");
|
||||
System.out.println(replaced);
|
||||
return replaced;
|
||||
}
|
||||
|
||||
|
|
|
@ -629,6 +629,7 @@ public class GameController implements GameCallback {
|
|||
logger.warn(" action player: " + player.getName() + ", id: " + player.getId());
|
||||
Player priorityPlayer = game.getPlayer(game.getPriorityPlayerId());
|
||||
logger.warn(" priority player: " + priorityPlayer.getName() + ", id: " + priorityPlayer.getId());
|
||||
logger.warn(" command: " + command.toString());
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue