Add: complete JavaDoc for networking, heartbeat, totem flow and game events

This commit is contained in:
MatteoPellegrino05
2026-05-18 18:52:29 +02:00
parent 07e7028ac9
commit e28e7bab6d
26 changed files with 890 additions and 199 deletions
@@ -4,5 +4,34 @@ package it.polimi.ingsw.gc14.Model.Cards.Building;
* Represents the possible effect types of building cards.
*/
public enum EffectType {
FINAL, CARD_SET, INVENTOR_PAIR, ON_EVENT, ON_END_TURN, ON_ROUND_END
}
/**
* Effect applied during the final scoring phase.
*/
FINAL,
/**
* Effect based on collecting a specific set of cards.
*/
CARD_SET,
/**
* Effect based on pairs of Inventor cards.
*/
INVENTOR_PAIR,
/**
* Effect triggered when an event card is resolved.
*/
ON_EVENT,
/**
* Effect triggered at the end of a player's turn.
*/
ON_END_TURN,
/**
* Effect triggered at the end of a round.
*/
ON_ROUND_END
}
@@ -4,5 +4,34 @@ package it.polimi.ingsw.gc14.Model.Cards.TribeCards;
* Represents the different types of character cards available in the game.
*/
public enum CharacterType {
INVENTOR, BUILDER, GATHERER, ARTIST, SHAMAN, HUNTER
/**
* Character card representing an Inventor.
*/
INVENTOR,
/**
* Character card representing a Builder.
*/
BUILDER,
/**
* Character card representing a Gatherer.
*/
GATHERER,
/**
* Character card representing an Artist.
*/
ARTIST,
/**
* Character card representing a Shaman.
*/
SHAMAN,
/**
* Character card representing a Hunter.
*/
HUNTER
}
@@ -4,5 +4,24 @@ package it.polimi.ingsw.gc14.Model.Cards.TribeCards;
* Represents the different types of event cards available in the game.
*/
public enum EventType {
SUSTENANCE, SHAMANIC_RITUAL, CAVE_PAINTINGS, HUNT
}
/**
* Event card representing Sustenance.
*/
SUSTENANCE,
/**
* Event card representing the Shamanic Ritual.
*/
SHAMANIC_RITUAL,
/**
* Event card representing Cave Paintings.
*/
CAVE_PAINTINGS,
/**
* Event card representing the Hunt.
*/
HUNT
}