Fix: compilation errors due to wrong number of parameters

This commit is contained in:
2026-04-25 17:36:24 +02:00
parent 3a8706603c
commit 27903f1738
8 changed files with 8 additions and 8 deletions
@@ -13,7 +13,7 @@ public class AddPlayer extends NetworkEvent implements Serializable {
return proposedNPlayer;
}
public AddPlayer(String username, int proposedNPlayer) {
super(username, EventType.ADD_PLAYER);
super(username, EventType.ADD_PLAYER, false);
this.proposedNPlayer = proposedNPlayer;
}
@Override
@@ -11,7 +11,7 @@ public class DrawLowerBuildingCard extends NetworkEvent implements Serializable
private int pos;
public DrawLowerBuildingCard(String username, int pos){
super(username, EventType.DRAW_LOWER_BUILD);
super(username, EventType.DRAW_LOWER_BUILD, false);
this.pos = pos;
}
@@ -11,7 +11,7 @@ public class DrawLowerTribeCard extends NetworkEvent implements Serializable{
private int pos;
public DrawLowerTribeCard(String username, int pos){
super(username, EventType.DRAW_LOWER_TRIBE);
super(username, EventType.DRAW_LOWER_TRIBE, false);
this.pos = pos;
}
@@ -11,7 +11,7 @@ public class DrawUpperBuildingCard extends NetworkEvent implements Serializable
private int pos;
public DrawUpperBuildingCard(String username, int pos){
super(username, EventType.DRAW_UPPER_BUILD);
super(username, EventType.DRAW_UPPER_BUILD, false);
this.pos = pos;
}
@@ -11,7 +11,7 @@ public class DrawUpperTribeCard extends NetworkEvent implements Serializable{
private int pos;
public DrawUpperTribeCard(String username, int pos){
super(username, EventType.DRAW_UPPER_TRIBE);
super(username, EventType.DRAW_UPPER_TRIBE, false);
this.pos = pos;
}
@@ -11,7 +11,7 @@ public class PickOptionalBuildingCard extends NetworkEvent implements Serializa
private int pos;
public PickOptionalBuildingCard(String username, int pos){
super(username, EventType.PICK_OPTIONAL_BUILD);
super(username, EventType.PICK_OPTIONAL_BUILD, false);
this.pos = pos;
}
@@ -11,7 +11,7 @@ public class PickOptionalTribeCard extends NetworkEvent implements Serializable
private int pos;
public PickOptionalTribeCard(String username, int pos){
super(username, EventType.PICK_OPTIONAL_TRIBE);
super(username, EventType.PICK_OPTIONAL_TRIBE, false);
this.pos = pos;
}
@@ -11,7 +11,7 @@ public class SlotChoice extends NetworkEvent implements Serializable {
private int pos;
public SlotChoice(String username, int pos) {
super(username, EventType.SLOT_CHOICE);
super(username, EventType.SLOT_CHOICE, false);
this.pos = pos;
}