Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
T
- TCP_PORT - Static variable in class it.polimi.ingsw.gc14.Network.NetworkConfig
-
Port on which the TCP game server listens.
- TCPClient - Class in it.polimi.ingsw.gc14.Network.TCP.Client
-
Client TCP.
- TCPClient(ClientController, String, int, int) - Constructor for class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
-
Constructs a TCP client and initializes its connection parameters.
- tcpServer - Variable in class it.polimi.ingsw.gc14.Network.CompositeClientBroadcaster
-
TCP transport used to reach TCP-connected clients.
- TCPServer - Class in it.polimi.ingsw.gc14.Network.TCP.Server
-
TCP server responsible for accepting client connections, handling player registration and reconnection, and sending game updates to connected clients.
- TCPServer(GameController, int, int, BlockingQueue, LimitedMap) - Constructor for class it.polimi.ingsw.gc14.Network.TCP.Server.TCPServer
-
Constructs a TCP server with the required game and network components.
- terminal - Variable in class it.polimi.ingsw.gc14.ClientLauncherTUI
-
JLine terminal used for all input/output.
- terminal - Variable in class it.polimi.ingsw.gc14.View.TUI.TUI
-
JLine terminal — used to query terminal width for centering and grid layout.
- tick(long) - Method in class it.polimi.ingsw.gc14.View.GUI.FireParticleSystem
-
Advances the simulation by one frame: pre-warms on first call, spawns new particles, steps existing ones, removes dead ones, and updates their visual state.
- timerExecutor - Variable in class it.polimi.ingsw.gc14.GameEventProcessor
-
Single-thread executor used exclusively for the forfeit timer.
- tl - Variable in enum class it.polimi.ingsw.gc14.View.TUI.BorderStyle
-
Corner (tl/tr/bl/br), line (h/v), outer junction (ml/mr/mt/mb/x), and separator junction (sl/sr/sx) characters.
- tl() - Method in enum class it.polimi.ingsw.gc14.View.TUI.BorderStyle
- toggleThumb - Variable in class it.polimi.ingsw.gc14.View.GUI.LoginFXMLController
-
Sliding thumb inside the protocol toggle.
- toInt(byte[]) - Static method in class it.polimi.ingsw.gc14.Network.InterfaceResolver
-
Converts a 4-byte big-endian IPv4 address array to a signed 32-bit integer.
- toString() - Method in enum class it.polimi.ingsw.gc14.ErrorType
-
Returns the human-readable description of this error.
- toString() - Method in class it.polimi.ingsw.gc14.Model.GamePackage.CurrentState
-
Returns a formatted ASCII table representation of the current game state.
- toString() - Method in enum class it.polimi.ingsw.gc14.Model.GamePackage.GameStages
-
Returns the human-readable name of this stage.
- toString() - Method in class it.polimi.ingsw.gc14.Model.Orders.Order2
-
Creates the TURN ORDER box of the TUI.
- toString() - Method in class it.polimi.ingsw.gc14.Model.Orders.Order3
-
Creates the TURN ORDER box of the TUI.
- toString() - Method in class it.polimi.ingsw.gc14.Model.Orders.Order4
-
Creates the TURN ORDER box of the TUI.
- toString() - Method in class it.polimi.ingsw.gc14.Model.Orders.Order5
-
Creates the TURN ORDER box of the TUI.
- toString() - Method in class it.polimi.ingsw.gc14.Model.Orders.OrderPlayer
-
Returns a string containing the player's username and whether the player has already played.
- toString() - Method in class it.polimi.ingsw.gc14.Model.Player
-
Prints the
Player's attributes for theBoard's representation. - toString() - Method in class it.polimi.ingsw.gc14.Model.Slot
-
Returns the string representation of this slot.
- toString() - Method in enum class it.polimi.ingsw.gc14.Network.EventType
- toString() - Method in class it.polimi.ingsw.gc14.Network.NetworkEvent
-
Returns a textual description of the event and its outcome.
- toStringBoard() - Method in class it.polimi.ingsw.gc14.Model.Cards.Building.Effects.Building1
- toStringBoard() - Method in class it.polimi.ingsw.gc14.Model.Cards.Building.Effects.Building11
- toStringBoard() - Method in class it.polimi.ingsw.gc14.Model.Cards.BuildingCard
- toStringBoard() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Artist
- toStringBoard() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Builder
- toStringBoard() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Gatherer
- toStringBoard() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Hunter
- toStringBoard() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Inventor
- toStringBoard() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Shaman
- toStringBoard() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.CavePaintings
- toStringBoard() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.Hunt
- toStringBoard() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.ShamanicRitual
- toStringBoard() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.Sustenance
- toStringBoard() - Method in class it.polimi.ingsw.gc14.Model.PlayableCard
-
Returns the representation shown on the board (offer track cards).
- toStringPlayer() - Method in class it.polimi.ingsw.gc14.Model.Cards.Building.Effects.Building1
- toStringPlayer() - Method in class it.polimi.ingsw.gc14.Model.Cards.Building.Effects.Building11
- toStringPlayer() - Method in class it.polimi.ingsw.gc14.Model.Cards.BuildingCard
- toStringPlayer() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Artist
- toStringPlayer() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Builder
- toStringPlayer() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Gatherer
- toStringPlayer() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Hunter
- toStringPlayer() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Inventor
- toStringPlayer() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Shaman
- toStringPlayer() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.CavePaintings
-
Prints a string representation of this
TribeCard. - toStringPlayer() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.Hunt
- toStringPlayer() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.ShamanicRitual
-
Prints a string representation of this
TribeCard. - toStringPlayer() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.Sustenance
-
Prints a string representation of this
TribeCard. - toStringPlayer() - Method in class it.polimi.ingsw.gc14.Model.PlayableCard
-
Returns the compact representation shown in the player hand panel.
- toStringTUI() - Method in class it.polimi.ingsw.gc14.Model.Slot
-
Returns a compact string representation of this
Slotfor the TUI. - totem - Variable in class it.polimi.ingsw.gc14.Model.Player
-
Identifier for the
Playerwhen displaying the game through the GUI. - totem - Variable in class it.polimi.ingsw.gc14.Network.NetworkEvents.TotemChoice
-
Name of the totem selected by the player.
- TOTEM_CHOICE - Enum constant in enum class it.polimi.ingsw.gc14.Model.GamePackage.GameStages
-
Stage in which players choose their totems.
- TOTEM_CHOICE - Enum constant in enum class it.polimi.ingsw.gc14.Network.EventType
-
Event used to submit a player's totem choice.
- totemChoice(int) - Method in class it.polimi.ingsw.gc14.Controller.ClientController
-
Handles the selection of a totem by the specified player.
- totemChoice(Player, Totems) - Method in class it.polimi.ingsw.gc14.Model.Game
-
Assigns the selected totem to the specified player during the totem choice phase.
- totemChoice(String, String) - Method in class it.polimi.ingsw.gc14.Controller.GameController
-
Applies the totem choice made by the player associated with the specified username.
- totemChoice(String, String) - Method in interface it.polimi.ingsw.gc14.Network.IClient
-
Requests to assign the selected totem to the specified player.
- totemChoice(String, String) - Method in class it.polimi.ingsw.gc14.Network.RMI.Client.RMIClient
-
Sends a totem choice to the server for the specified player via RMI.
- totemChoice(String, String) - Method in interface it.polimi.ingsw.gc14.Network.RMI.Common.IGameServer
-
Requests to assign the selected totem to the specified player.
- totemChoice(String, String) - Method in class it.polimi.ingsw.gc14.Network.RMI.Server.RMIServer
-
Enqueues a totem choice event for the specified player.
- totemChoice(String, String) - Method in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
-
Sends a totem choice event to the server for the specified player.
- TotemChoice - Class in it.polimi.ingsw.gc14.Network.NetworkEvents
-
Network event used to handle a player's totem choice.
- TotemChoice(String, String) - Constructor for class it.polimi.ingsw.gc14.Network.NetworkEvents.TotemChoice
-
Constructs a totem choice event for the specified player.
- totemChoiceQueue - Variable in class it.polimi.ingsw.gc14.Model.Game
-
Queue containing the players who still have to choose their totem.
- TotemFXMLController - Class in it.polimi.ingsw.gc14.View.GUI
-
FXML controller for the totem selection scene.
- TotemFXMLController() - Constructor for class it.polimi.ingsw.gc14.View.GUI.TotemFXMLController
- Totems - Enum Class in it.polimi.ingsw.gc14.Model
-
Represents the different totem colors available in the game.
- Totems() - Constructor for enum class it.polimi.ingsw.gc14.Model.Totems
- totemScene - Variable in class it.polimi.ingsw.gc14.View.GUI.GUI
-
The totem selection scene.
- tr - Variable in enum class it.polimi.ingsw.gc14.View.TUI.BorderStyle
-
Corner (tl/tr/bl/br), line (h/v), outer junction (ml/mr/mt/mb/x), and separator junction (sl/sr/sx) characters.
- tr() - Method in enum class it.polimi.ingsw.gc14.View.TUI.BorderStyle
- transitionToOptionalOrNextRound() - Method in class it.polimi.ingsw.gc14.Model.Game
-
Transitions the game to the optional card phase or directly to the next round.
- TribeCard - Class in it.polimi.ingsw.gc14.Model.Cards
-
Abstract base class for all tribe cards.
- TribeCard(int, boolean) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCard
-
Creates a tribe card with the specified era and event-card flag.
- TribeCard(int, boolean, int) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCard
-
Creates a tribe card with the specified era, event-card flag, and minimum number of players.
- TribeCard(String, int, boolean) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCard
-
Creates a tribe card with the specified image id, era and event-card flag.
- TribeCard(String, int, boolean, int) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCard
-
Creates a tribe card with the specified image id, era, event-card flag, and minimum number of players.
- TribeCardDefinition() - Constructor for class it.polimi.ingsw.gc14.Model.DecksCreator.TribeCardDefinition
- tribeDeck - Variable in class it.polimi.ingsw.gc14.Model.GamePackage.Board
-
tribeDeck is the deck from where you draw tribe cards as characters and events.
- TUI - Class in it.polimi.ingsw.gc14.View.TUI
-
Text-based User Interface (TUI) implementation of
IView. - TUI(MiniModel) - Constructor for class it.polimi.ingsw.gc14.View.TUI.TUI
-
Constructs a
TUIbound to the given model. - turnBanner - Variable in class it.polimi.ingsw.gc14.View.GUI.TotemFXMLController
-
Banner label showing whose turn it is to choose a totem.
- type - Variable in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Character
-
The specific type of this character card.
- type - Variable in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.EventCard
-
The specific type of this event card.
- type - Variable in class it.polimi.ingsw.gc14.Model.DecksCreator.TribeCardDefinition
- type - Variable in class it.polimi.ingsw.gc14.View.GUI.FireParticleSystem.Particle
-
Particle type: 0 = ember, 1 = spark, 2 = dust.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form