* Draft - Added possibility to hide (and show again) cards from the picked cards area.

This commit is contained in:
LevelX2 2014-11-22 18:19:59 +01:00
parent 4622973639
commit bf3fa37e5d
6 changed files with 217 additions and 31 deletions

View file

@ -28,6 +28,7 @@
package mage.client.cards;
import java.awt.Component;
import mage.client.util.Event;
import mage.client.util.EventDispatcher;
import mage.client.util.EventSource;
@ -69,6 +70,11 @@ public class CardEventSource implements EventSource<Event>, Serializable {
dispatcher.fireEvent(new Event(null, message));
}
public void showPopupMenuEvent(SimpleCardView card, Component component, int x, int y, String message) {
dispatcher.fireEvent(new Event(card, message, x, y, component));
}
@Override
public void clearListeners() {
dispatcher.clearListeners();