forked from External/mage
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:
parent
2d55ccc73c
commit
3c2c793f5d
9 changed files with 1401 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue