* Deck editor - Added possibility to edit number of cards for deck and sideboard directly if deck editor is in normal mode to build a deck from complete card pool.

This commit is contained in:
LevelX2 2014-05-09 16:00:37 +02:00
parent 7d714947aa
commit 0561499d5b
13 changed files with 351 additions and 55 deletions

View file

@ -35,12 +35,18 @@ import java.io.Serializable;
* @author BetaSteward_at_googlemail.com
*/
public class Event implements Serializable {
private Object source;
private String eventName;
private final Object source;
private final String eventName;
private final int number;
public Event(Object source, String eventName) {
this(source, eventName, 0);
}
public Event(Object source, String eventName, int number) {
this.source = source;
this.eventName = eventName;
this.number = number;
}
public Object getSource() {
@ -50,4 +56,9 @@ public class Event implements Serializable {
public String getEventName() {
return eventName;
}
public int getNumber() {
return number;
}
}