From 9760144faa9563810da6dc6202a2c293cb7b0c4a Mon Sep 17 00:00:00 2001 From: AleandroPagani Date: Thu, 23 Apr 2026 17:49:57 +0200 Subject: [PATCH] Fix: NetworkEvent MicroFix: ShamanicRitual JavaDOC --- .../gc14/Model/Cards/TribeCards/Events/ShamanicRitual.java | 3 +-- src/main/java/it/polimi/ingsw/gc14/Network/NetworkEvent.java | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/it/polimi/ingsw/gc14/Model/Cards/TribeCards/Events/ShamanicRitual.java b/src/main/java/it/polimi/ingsw/gc14/Model/Cards/TribeCards/Events/ShamanicRitual.java index a9de6e2..b447c13 100644 --- a/src/main/java/it/polimi/ingsw/gc14/Model/Cards/TribeCards/Events/ShamanicRitual.java +++ b/src/main/java/it/polimi/ingsw/gc14/Model/Cards/TribeCards/Events/ShamanicRitual.java @@ -43,7 +43,7 @@ public class ShamanicRitual extends EventCard { * If all players have the same amount of icons, they all gain and lose Prestige Points. * * Buildings influence: - * Building 2: if you have fewer icons than all other players, you don't lose Prestige Points + * Building 2: if you have the lowest number of icons, you don't lose Prestige Points * Building 5: during the Shamanic Ritual, you gain 3 icons * Building 6: if you have more icons than any other player, you gain double of Prestige Points * @@ -87,7 +87,6 @@ public class ShamanicRitual extends EventCard { } - /** * Creates and returns a copy of this ShamanicRitual card. * diff --git a/src/main/java/it/polimi/ingsw/gc14/Network/NetworkEvent.java b/src/main/java/it/polimi/ingsw/gc14/Network/NetworkEvent.java index 5e3d45b..abc510c 100644 --- a/src/main/java/it/polimi/ingsw/gc14/Network/NetworkEvent.java +++ b/src/main/java/it/polimi/ingsw/gc14/Network/NetworkEvent.java @@ -16,8 +16,6 @@ public abstract class NetworkEvent implements Serializable { this.username = username; this.eventType = eventType; } - public NetworkEvent(String username) { - this.username = username; - } + public abstract boolean apply(GameController gameController); }