Drag n Drop Deck Editor WIP

* Working standalone proof-of-concept application in DragCardGrid.

* Still needs listener functionality in order to integrate it into the existing DeckEditorPanel class.
This commit is contained in:
Mark Langen 2016-09-24 21:12:40 -06:00
parent 2d55ccc73c
commit 3c2c793f5d
9 changed files with 1401 additions and 0 deletions

View file

@ -0,0 +1,17 @@
package mage.client.cards;
import mage.view.CardView;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.util.Collection;
/**
* Created by StravantUser on 2016-09-22.
*/
public interface DragCardTarget {
void dragCardEnter(MouseEvent e);
void dragCardMove(MouseEvent e);
void dragCardExit(MouseEvent e);
void dragCardDrop(MouseEvent e, DragCardSource source, Collection<CardView> cards);
}