forked from External/mage
* Draft - Added possibility to hide (and show again) cards from the picked cards area.
This commit is contained in:
parent
4622973639
commit
bf3fa37e5d
6 changed files with 217 additions and 31 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue