mirror of
https://github.com/correl/mage.git
synced 2025-04-03 17:00:16 -09:00
[Client]Move some unused files into "unusedFiles" directory.those files should probably be removed
This commit is contained in:
parent
9a68a2cea3
commit
6ad969f735
8 changed files with 13 additions and 12 deletions
Mage.Client/src/main/java/mage/client
|
@ -82,7 +82,6 @@ public final class GamePanel extends javax.swing.JPanel {
|
||||||
private UUID playerId;
|
private UUID playerId;
|
||||||
private Session session;
|
private Session session;
|
||||||
private ReplayTask replayTask;
|
private ReplayTask replayTask;
|
||||||
private CombatDialog combat;
|
|
||||||
private PickNumberDialog pickNumber;
|
private PickNumberDialog pickNumber;
|
||||||
private JLayeredPane jLayeredPane;
|
private JLayeredPane jLayeredPane;
|
||||||
private String chosenHandKey = "You";
|
private String chosenHandKey = "You";
|
||||||
|
@ -99,10 +98,7 @@ public final class GamePanel extends javax.swing.JPanel {
|
||||||
public GamePanel() {
|
public GamePanel() {
|
||||||
initComponents();
|
initComponents();
|
||||||
|
|
||||||
combat = new CombatDialog();
|
|
||||||
pickNumber = new PickNumberDialog();
|
pickNumber = new PickNumberDialog();
|
||||||
MageFrame.getDesktop().add(combat, JLayeredPane.MODAL_LAYER);
|
|
||||||
combat.hideDialog();
|
|
||||||
MageFrame.getDesktop().add(pickNumber, JLayeredPane.MODAL_LAYER);
|
MageFrame.getDesktop().add(pickNumber, JLayeredPane.MODAL_LAYER);
|
||||||
|
|
||||||
this.feedbackPanel.setConnectedChatPanel(this.userChatPanel);
|
this.feedbackPanel.setConnectedChatPanel(this.userChatPanel);
|
||||||
|
@ -166,7 +162,6 @@ public final class GamePanel extends javax.swing.JPanel {
|
||||||
this.players.clear();
|
this.players.clear();
|
||||||
logger.debug("players clear.");
|
logger.debug("players clear.");
|
||||||
this.pnlBattlefield.removeAll();
|
this.pnlBattlefield.removeAll();
|
||||||
combat.hideDialog();
|
|
||||||
pickNumber.hideDialog();
|
pickNumber.hideDialog();
|
||||||
for (ExileZoneDialog exile: exiles.values()) {
|
for (ExileZoneDialog exile: exiles.values()) {
|
||||||
exile.hideDialog();
|
exile.hideDialog();
|
||||||
|
@ -332,8 +327,6 @@ public final class GamePanel extends javax.swing.JPanel {
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized void init(GameView game) {
|
public synchronized void init(GameView game) {
|
||||||
combat.init(gameId, bigCard);
|
|
||||||
combat.setLocation(500, 300);
|
|
||||||
addPlayers(game);
|
addPlayers(game);
|
||||||
updateGame(game);
|
updateGame(game);
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,10 +32,11 @@
|
||||||
* Created on Feb 10, 2010, 3:35:02 PM
|
* Created on Feb 10, 2010, 3:35:02 PM
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package mage.client.dialog;
|
//package mage.client.dialog;
|
||||||
|
package mage.client.unusedFiles;
|
||||||
|
|
||||||
import mage.client.cards.BigCard;
|
import mage.client.cards.BigCard;
|
||||||
import mage.client.game.CombatGroup;
|
import mage.client.unusedFiles.CombatGroup;
|
||||||
import mage.view.CombatGroupView;
|
import mage.view.CombatGroupView;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
|
@ -45,6 +46,7 @@ import java.util.List;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
import mage.client.dialog.MageDialog;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
|
@ -32,7 +32,10 @@
|
||||||
* Created on Feb 10, 2010, 3:36:55 PM
|
* Created on Feb 10, 2010, 3:36:55 PM
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package mage.client.game;
|
|
||||||
|
package mage.client.unusedFiles;
|
||||||
|
|
||||||
|
//package mage.client.game;
|
||||||
|
|
||||||
import mage.client.cards.BigCard;
|
import mage.client.cards.BigCard;
|
||||||
import mage.client.util.Config;
|
import mage.client.util.Config;
|
|
@ -1,4 +1,6 @@
|
||||||
package mage.client.thread;
|
|
||||||
|
package mage.client.unusedFiles;
|
||||||
|
//package mage.client.thread;
|
||||||
|
|
||||||
import java.awt.Component;
|
import java.awt.Component;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
|
@ -32,7 +32,8 @@
|
||||||
* Created on Nov 18, 2009, 3:01:31 PM
|
* Created on Nov 18, 2009, 3:01:31 PM
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package mage.client.game;
|
package mage.client.unusedFiles;
|
||||||
|
//package mage.client.game;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
Loading…
Add table
Reference in a new issue