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) + ")";
}
// TODO
@Override
public String toStringPlayer() {
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;
}
// TODO
@Override
public String toStringPlayer() {
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. */
private int prestigeToAdd;
// TODO
int getPrestigeToAdd() { return prestigeToAdd; }
/** Prestige points removed from the player with the fewest shaman icons. */
private int prestigeToRemove;
// TODO
int getPrestigeToRemove() { return prestigeToRemove; }
/**
@@ -688,14 +688,9 @@ public class Game implements Serializable {
}
//endregion
//region Optional Card Methods
//endregion
//endregion
/**
* 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.
@@ -72,7 +72,7 @@ public class Board implements Serializable {
*/
public List<BuildingCard> getLowerListBuilding() { return lowerListBuilding; }
// TODO
private final ArrayList<List<BuildingCard>> buildingCardsAllEras;
/** Number of players */
private int nTotem;
@@ -199,6 +199,8 @@ public class CurrentState implements Serializable {
}
}
// TODO
@Override
public String toString(){
var table= new AsciiTable(BorderStyle.ROUNDED,4);
@@ -224,6 +224,7 @@ public class Player implements Serializable {
// region Functions
// TODO
@Override
public boolean equals(Object obj) {
if (this == obj) return true;
@@ -178,6 +178,7 @@ public class Slot implements Serializable {
// Functions
// TODO
@Override
public boolean equals(Object obj) {
if (this == obj) return true;
@@ -185,6 +186,7 @@ public class Slot implements Serializable {
return slotId == ((Slot) obj).slotId;
}
// TODO
@Override
public int hashCode() {
return Character.hashCode(slotId);