Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
H
- h - 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.
- h() - Method in enum class it.polimi.ingsw.gc14.View.TUI.BorderStyle
- handleCommand(String, ClientController) - Method in class it.polimi.ingsw.gc14.ClientLauncherTUI
-
Returns
truewhen the caller should break out of the game loop (rematch requested). - handleDraw(String[], ClientController) - Method in class it.polimi.ingsw.gc14.ClientLauncherTUI
-
Handles the
drawcommand, dispatching to the appropriate controller draw method. - handleInactiveGame(NetworkEvent) - Method in class it.polimi.ingsw.gc14.GameEventProcessor
-
Handles events that arrive when no active game exists (not yet started, or already ended).
- handleRender() - Method in class it.polimi.ingsw.gc14.ClientLauncherTUI
-
Handles the
clearcommand by triggering a full board re-render. - handleSuspendedGame(NetworkEvent) - Method in class it.polimi.ingsw.gc14.GameEventProcessor
-
Routes events while the game is suspended waiting for a reconnection.
- hasDrawableDown() - Method in class it.polimi.ingsw.gc14.Model.Game
-
Checks whether there are any drawable lower tribe cards on the board, i.e. lower tribe cards that are not event cards.
- hasDrawableUp() - Method in class it.polimi.ingsw.gc14.Model.Game
-
Checks whether there are any drawable upper tribe cards on the board, i.e. upper tribe cards that are not event cards.
- hashCode() - Method in class it.polimi.ingsw.gc14.Model.Player
- hashCode() - Method in class it.polimi.ingsw.gc14.Model.Slot
-
Returns the hash code for this
Slot, derived fromSlot.slotId. - HEARTBEAT_PORT - Static variable in class it.polimi.ingsw.gc14.Network.NetworkConfig
-
Port on which the TCP heartbeat server listens.
- HeartbeatHandler - Class in it.polimi.ingsw.gc14.Network.TCP.Server
-
Handles the heartbeat communication associated with a TCP client.
- HeartbeatHandler(String, Socket, ClientHandler) - Constructor for class it.polimi.ingsw.gc14.Network.TCP.Server.HeartbeatHandler
-
Constructs a heartbeat handler for the specified client.
- heartbeatIn - Variable in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
-
Input stream of
TCPClient.heartbeatSocket, used to readTCPClient.PONGbytes. - heartbeatLoop() - Method in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
-
Sends a
TCPClient.PINGbyte to the server every 3 seconds and waits for aTCPClient.PONGreply. - heartbeatOut - Variable in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
-
Output stream of
TCPClient.heartbeatSocket, used to writeTCPClient.PINGbytes. - heartbeatPort - Variable in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
-
TCP port dedicated to heartbeat communication.
- heartbeatPort - Variable in class it.polimi.ingsw.gc14.Network.TCP.Server.TCPServer
-
TCP port dedicated to heartbeat communication.
- heartbeatSocket - Variable in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
-
Socket used exclusively for heartbeat ping/pong exchange.
- heartbeatSocketTCP - Variable in class it.polimi.ingsw.gc14.Network.TCP.Server.TCPServer
-
Server socket used to accept heartbeat connections.
- hline(String, String, String, int) - Method in class it.polimi.ingsw.gc14.View.TUI.AsciiTable
-
Builds a single horizontal borderline across all columns.
- host - Variable in class it.polimi.ingsw.gc14.Network.RMI.Client.RMIClient
-
Hostname or IP address of the RMI server.
- host - Variable in class it.polimi.ingsw.gc14.Network.RMI.Server.RMIServer
-
Hostname or IP address exposed by the RMI runtime (
java.rmi.server.hostname). - hostname - Variable in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
-
IP address of the server to connect to
- Hunt - Class in it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events
-
When activated, gives Food and Prestige Points to every player.
- Hunt(int, int) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.Hunt
-
Creates a new Hunt event card.
- Hunt(String, int, int) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.Hunt
-
Creates a new Hunt event card.
- HUNT - Enum constant in enum class it.polimi.ingsw.gc14.Model.Cards.TribeCards.EventType
-
Event card representing the Hunt.
- Hunter - Class in it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters
-
Represents a Hunter character card.
- Hunter(int, boolean) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Hunter
-
Creates a Hunter character card with the specified era and icon value.
- Hunter(int, boolean, int) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Hunter
-
Creates a Hunter character card with the specified era, icon value, and minimum number of players.
- Hunter(String, int, boolean) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Hunter
-
Creates a Hunter character card with the specified image id, era and icon value.
- Hunter(String, int, boolean, int) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Hunter
-
Creates a Hunter character card with the specified image id, era, icon value, and minimum number of players.
- HUNTER - Enum constant in enum class it.polimi.ingsw.gc14.Model.Cards.TribeCards.CharacterType
-
Character card representing a Hunter.
- hunters - Variable in class it.polimi.ingsw.gc14.Model.Player
-
The current
Huntercards in the player's deck.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form