mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
remove extras
This commit is contained in:
@@ -414,11 +414,6 @@ public final class CMatchUI
|
||||
cCombat.update();
|
||||
} // showCombat(CombatView)
|
||||
|
||||
@Override
|
||||
public void showZoom(CardView card) {
|
||||
//do nothing since this is for mobile GUI
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateDayTime(String daytime) {
|
||||
super.updateDayTime(daytime);
|
||||
|
||||
@@ -355,20 +355,6 @@ public class MatchController extends AbstractGuiGame {
|
||||
public void showCombat() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void showZoom(CardView card) {
|
||||
FThreads.invokeInEdtLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
VCardDisplayArea.CardAreaPanel.get(card).showZoom();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public void showManaPool(final PlayerView player) {
|
||||
final VPlayerPanel playerPanel = view.getPlayerPanel(player);
|
||||
|
||||
@@ -393,7 +393,7 @@ public abstract class VCardDisplayArea extends VDisplayArea implements ActivateH
|
||||
return false;
|
||||
}
|
||||
|
||||
public void showZoom() {
|
||||
private void showZoom() {
|
||||
if (displayArea == null) { return; }
|
||||
|
||||
final List<CardView> cards = displayArea.orderedCards;
|
||||
|
||||
@@ -69,11 +69,6 @@ public class NetGuiGame extends AbstractGuiGame {
|
||||
send(ProtocolMethod.showCombat);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void showZoom(CardView card) {
|
||||
//do nothing
|
||||
}
|
||||
|
||||
@Override
|
||||
public void showPromptMessage(final PlayerView playerView, final String message) {
|
||||
updateGameView();
|
||||
|
||||
@@ -38,7 +38,6 @@ public interface IGuiGame {
|
||||
void openView(TrackableCollection<PlayerView> myPlayers);
|
||||
void afterGameEnd();
|
||||
void showCombat();
|
||||
void showZoom(CardView card);
|
||||
void showPromptMessage(PlayerView playerView, String message);
|
||||
void showCardPromptMessage(PlayerView playerView, String message, CardView card);
|
||||
void updateButtons(PlayerView owner, boolean okEnabled, boolean cancelEnabled, boolean focusOk);
|
||||
|
||||
Reference in New Issue
Block a user