added no args construktor

This commit is contained in:
Tobydrama 2020-04-16 14:51:16 +02:00
parent e2928e8f17
commit a1fba2da88

View File

@ -7,8 +7,8 @@ import inf112.fiasko.roborally.elementproperties.Action;
*/ */
public class ProgrammingCard implements Comparable<ProgrammingCard> { public class ProgrammingCard implements Comparable<ProgrammingCard> {
private final int cardPriority; private int cardPriority;
private final Action cardAction; private Action cardAction;
/** /**
* Initializes the priority and the action of the card * Initializes the priority and the action of the card
@ -20,6 +20,10 @@ public class ProgrammingCard implements Comparable<ProgrammingCard> {
this.cardAction = cardAction; this.cardAction = cardAction;
} }
public ProgrammingCard(){
}
/** /**
* Gets the priority of the programming card * Gets the priority of the programming card
* @return The programming card priority * @return The programming card priority