foul-magics/Mage.Client/src/main/java/mage/client/cards/DragCardTarget.java
vraskulin 076840df53 Big refactoring
I used Intellij IDEA to automatically refactor code to achive 3 goals.
1) get rid of anonymouse classes, and replace the with lamba to get more readeable and clean code (like in TableWaitingDialog).
2) make effectively final  variables actually final to avoid inadvertent changes on it in further releases and keep objects as immutable, as possible.
3)  Get rid of unused imports (most of the changes) in whole project classes.
2017-01-09 19:16:53 +03:00

16 lines
406 B
Java

package mage.client.cards;
import mage.view.CardView;
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);
}