Fix: marked JavaDOC TODOS in main

This commit is contained in:
2026-06-14 17:00:20 +02:00
parent a35c95c1c0
commit 4c2290a1c5
8 changed files with 10 additions and 6 deletions
@@ -77,6 +77,7 @@ public class Building1 extends BuildingCard {
return super.toString() + " (Icon:" + this.icon.toString().substring(0, 3) + ")"; return super.toString() + " (Icon:" + this.icon.toString().substring(0, 3) + ")";
} }
// TODO
@Override @Override
public String toStringPlayer() { public String toStringPlayer() {
return super.toStringPlayer() + " (Icon:" + this.icon.toString().substring(0, 3) + ")"; return super.toStringPlayer() + " (Icon:" + this.icon.toString().substring(0, 3) + ")";
@@ -111,6 +111,7 @@ public class Building11 extends BuildingCard {
return super.toString() + "+" + this.characterType.toString().substring(0, 3) + "×" + this.prestigeMul; return super.toString() + "+" + this.characterType.toString().substring(0, 3) + "×" + this.prestigeMul;
} }
// TODO
@Override @Override
public String toStringPlayer() { public String toStringPlayer() {
return super.toStringPlayer() + " (\uD83C\uDFC5:" + this.characterType.toString().substring(0, 3) + "×" + this.prestigeMul + ")"; return super.toStringPlayer() + " (\uD83C\uDFC5:" + this.characterType.toString().substring(0, 3) + "×" + this.prestigeMul + ")";
@@ -21,11 +21,13 @@ public class ShamanicRitual extends EventCard {
/** Prestige points awarded to the player with the most shaman icons. */ /** Prestige points awarded to the player with the most shaman icons. */
private int prestigeToAdd; private int prestigeToAdd;
// TODO
int getPrestigeToAdd() { return prestigeToAdd; } int getPrestigeToAdd() { return prestigeToAdd; }
/** Prestige points removed from the player with the fewest shaman icons. */ /** Prestige points removed from the player with the fewest shaman icons. */
private int prestigeToRemove; private int prestigeToRemove;
// TODO
int getPrestigeToRemove() { return prestigeToRemove; } int getPrestigeToRemove() { return prestigeToRemove; }
/** /**
@@ -688,14 +688,9 @@ public class Game implements Serializable {
} }
//endregion
//region Optional Card Methods //region Optional Card Methods
//endregion
//endregion
/** /**
* Prepares the next player and updates the game state according to the current game stage. * Prepares the next player and updates the game state according to the current game stage.
* If the current stage is {@code SLOT_CHOICE}, the next player is taken from the order logic card. * If the current stage is {@code SLOT_CHOICE}, the next player is taken from the order logic card.
@@ -72,7 +72,7 @@ public class Board implements Serializable {
*/ */
public List<BuildingCard> getLowerListBuilding() { return lowerListBuilding; } public List<BuildingCard> getLowerListBuilding() { return lowerListBuilding; }
// TODO
private final ArrayList<List<BuildingCard>> buildingCardsAllEras; private final ArrayList<List<BuildingCard>> buildingCardsAllEras;
/** Number of players */ /** Number of players */
private int nTotem; private int nTotem;
@@ -199,6 +199,8 @@ public class CurrentState implements Serializable {
} }
} }
// TODO
@Override @Override
public String toString(){ public String toString(){
var table= new AsciiTable(BorderStyle.ROUNDED,4); var table= new AsciiTable(BorderStyle.ROUNDED,4);
@@ -224,6 +224,7 @@ public class Player implements Serializable {
// region Functions // region Functions
// TODO
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
if (this == obj) return true; if (this == obj) return true;
@@ -178,6 +178,7 @@ public class Slot implements Serializable {
// Functions // Functions
// TODO
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
if (this == obj) return true; if (this == obj) return true;
@@ -185,6 +186,7 @@ public class Slot implements Serializable {
return slotId == ((Slot) obj).slotId; return slotId == ((Slot) obj).slotId;
} }
// TODO
@Override @Override
public int hashCode() { public int hashCode() {
return Character.hashCode(slotId); return Character.hashCode(slotId);