mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
added no args construktor
This commit is contained in:
parent
e2928e8f17
commit
a1fba2da88
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user