Index

A B C D E F G H I J K L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

C

campoIP - Variable in class it.polimi.ingsw.gc14.View.GUI.LoginFXMLController
Text field for the server IP address.
campoNome - Variable in class it.polimi.ingsw.gc14.View.GUI.LoginFXMLController
Text field for the player's username.
campoNumPlayers - Variable in class it.polimi.ingsw.gc14.View.GUI.LoginFXMLController
Text field for the desired number of players.
cancelForfeitTimerIfReconnect(NetworkEvent) - Method in class it.polimi.ingsw.gc14.GameEventProcessor
Cancels the forfeit timer if the event is a successful reconnection.
capitalize(Totems) - Method in class it.polimi.ingsw.gc14.View.GUI.TotemFXMLController
Returns the totem name with only the first letter capitalized.
CARD_SET - Enum constant in enum class it.polimi.ingsw.gc14.Model.Cards.Building.EffectType
Effect based on collecting a specific set of cards.
CAVE_PAINTINGS - Enum constant in enum class it.polimi.ingsw.gc14.Model.Cards.TribeCards.EventType
Event card representing Cave Paintings.
CavePaintings - Class in it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events
Represents a Cave Paintings event card.
CavePaintings(int, int, int, int) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.CavePaintings
Creates a CavePaintings event card with the specified era and effect parameters.
CavePaintings(String, int, int, int, int) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.CavePaintings
Creates a CavePaintings event card with the specified image id, era and effect parameters.
center(String) - Method in class it.polimi.ingsw.gc14.View.TUI.TUI
Horizontally centers each line of content within the terminal width.
Character - Class in it.polimi.ingsw.gc14.Model.Cards.TribeCards
Abstract base class for all character cards.
Character(int, CharacterType) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Character
Creates a character card with the specified era and character type.
Character(int, CharacterType, int) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Character
Creates a character card with the specified era, character type, and minimum number of players.
Character(String, int, CharacterType) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Character
Creates a character card with the specified image id, era and character type.
Character(String, int, CharacterType, int) - Constructor for class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Character
Creates a character card with the specified image id, era, character type, and minimum number of players.
CHARACTER_DETAILS - Static variable in class it.polimi.ingsw.gc14.ClientLauncherTUI
 
characterType - Variable in class it.polimi.ingsw.gc14.Model.Cards.Building.Effects.Building11
The character type involved in this building effect.
CharacterType - Enum Class in it.polimi.ingsw.gc14.Model.Cards.TribeCards
Represents the different types of character cards available in the game.
CharacterType() - Constructor for enum class it.polimi.ingsw.gc14.Model.Cards.TribeCards.CharacterType
 
chooseNetworkInterface(Scanner) - Static method in class it.polimi.ingsw.gc14.ServerLauncher
Lists active non-loopback IPv4 network interfaces and prompts the operator to choose one.
clear() - Method in class it.polimi.ingsw.gc14.LimitedMap
 
clearDisconnected() - Method in class it.polimi.ingsw.gc14.Model.Game
Clears the collection of disconnected players.
client - Variable in class it.polimi.ingsw.gc14.Controller.ClientController
Network client, either TCP or RMI.
ClientCallbackImpl - Class in it.polimi.ingsw.gc14.Network.RMI.Client
RMI client callback implementation of IClientCallback.
ClientCallbackImpl(ClientController) - Constructor for class it.polimi.ingsw.gc14.Network.RMI.Client.ClientCallbackImpl
Class constructor.
clientController - Variable in class it.polimi.ingsw.gc14.Network.RMI.Client.ClientCallbackImpl
The client controller used to apply events and update the model
ClientController - Class in it.polimi.ingsw.gc14.Controller
Controller responsible for coordinating the client-side components, including the view, the network client and the local mini model.
ClientController(IView) - Constructor for class it.polimi.ingsw.gc14.Controller.ClientController
Constructs a client controller with the specified view.
ClientHandler - Class in it.polimi.ingsw.gc14.Network.TCP.Server
Handles the TCP connection with a single client.
ClientHandler(String, Socket, ObjectOutputStream, ObjectInputStream, List, LimitedMap, BlockingQueue) - Constructor for class it.polimi.ingsw.gc14.Network.TCP.Server.ClientHandler
Class constructor that initializes the attributes.
clientHandlers - Variable in class it.polimi.ingsw.gc14.Network.TCP.Server.ClientHandler
Shared list of all client handlers.
clientHandlers - Variable in class it.polimi.ingsw.gc14.Network.TCP.Server.TCPServer
List of active TCP client handlers.
ClientLauncherGUI - Class in it.polimi.ingsw.gc14
Entry point for launching the game client with the JavaFX GUI.
ClientLauncherGUI() - Constructor for class it.polimi.ingsw.gc14.ClientLauncherGUI
 
ClientLauncherGUI.GUIApp - Class in it.polimi.ingsw.gc14
Inner Application subclass that wires the GUI to the client controller and hands off control to GUI.start(Stage).
ClientLauncherTUI - Class in it.polimi.ingsw.gc14
Entry point for the TUI-based game client.
ClientLauncherTUI() - Constructor for class it.polimi.ingsw.gc14.ClientLauncherTUI
 
clients - Variable in class it.polimi.ingsw.gc14.Network.RMI.Server.RMIHeartbeat
Registry of active RMI callbacks; the entry for this player is removed on disconnect.
clients - Variable in class it.polimi.ingsw.gc14.Network.RMI.Server.RMIServer
username → callback
clientSocket - Variable in class it.polimi.ingsw.gc14.Network.TCP.Server.ClientHandler
The TCP socket
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.Building.Effects.Building0
Creates a new building instance with the same configuration values as this card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.Building.Effects.Building1
Creates a new building instance with the same configuration values as this card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.Building.Effects.Building10
Creates and returns a copy of this Building10 card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.Building.Effects.Building11
Creates and returns a copy of this Building11 card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.Building.Effects.Building13
Creates and returns a copy of this Building13 card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.Building.Effects.Building4
Creates a new building instance with the same configuration values as this card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.Building.Effects.Building8
Method to clone the building: it creates an exact copy.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.BuildingCard
Creates and returns a copy of this building card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCard
Creates and returns a copy of this tribe card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Character
Creates and returns a copy of this character card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Artist
Creates and returns a copy of this Artist card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Builder
Creates and returns a copy of this Builder card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Gatherer
Creates and returns a copy of this Gatherer card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Hunter
Creates and returns a copy of this Hunter card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Inventor
Creates and returns a copy of this Inventor card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Characters.Shaman
Creates and returns a copy of this Shaman card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.EventCard
Creates and returns a copy of this event card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.CavePaintings
Creates and returns a copy of this CavePaintings event card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.Hunt
Creates and returns a copy of this Hunt card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.ShamanicRitual
Creates and returns a copy of this ShamanicRitual card.
clone() - Method in class it.polimi.ingsw.gc14.Model.Cards.TribeCards.Events.Sustenance
Creates and returns a copy of this Sustenance event card.
cols - Variable in class it.polimi.ingsw.gc14.View.TUI.AsciiTable
Number of columns in this table.
communicationSocket - Variable in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
Socket TCP
CompositeClientBroadcaster - Class in it.polimi.ingsw.gc14.Network
Forwards every notification to both the RMI and the TCP transport layers.
CompositeClientBroadcaster(RMIServer, TCPServer) - Constructor for class it.polimi.ingsw.gc14.Network.CompositeClientBroadcaster
Constructs a composite broadcaster backed by the given RMI and TCP servers.
confirmButton - Variable in class it.polimi.ingsw.gc14.View.GUI.TotemFXMLController
Button that submits the selected totem to the server.
connect(String, int) - Method in interface it.polimi.ingsw.gc14.Network.IClient
Connects the client to the server using the specified username and preferred connection type.
connect(String, int) - Method in class it.polimi.ingsw.gc14.Network.RMI.Client.RMIClient
Connects to the RMI server and starts the heartbeat loop.
connect(String, int) - Method in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
Starts the TCP connection with the server.
connect(String, String, int, String) - Method in class it.polimi.ingsw.gc14.View.GUI.LoginFXMLController
Connects to the server using the selected protocol and transitions to the waiting state on success.
containsInQueue(Player) - Method in class it.polimi.ingsw.gc14.Model.OrderLogicCard
Returns whether the given player is currently present in the turn queue.
containsKey(Object) - Method in class it.polimi.ingsw.gc14.LimitedMap
 
containsValue(Object) - Method in class it.polimi.ingsw.gc14.LimitedMap
 
controller - Variable in class it.polimi.ingsw.gc14.Network.RMI.Client.RMIClient
Client-side controller that receives and applies incoming game events.
controller - Variable in class it.polimi.ingsw.gc14.Network.RMI.Server.RMIServer
Server-side game controller; all model access is synchronized on this object.
controller - Variable in class it.polimi.ingsw.gc14.Network.TCP.Client.TCPClient
Client game's controller
controller - Variable in class it.polimi.ingsw.gc14.Network.TCP.Server.TCPServer
Game controller used to manage the server-side game logic.
controller - Variable in class it.polimi.ingsw.gc14.View.GUI.GUI
Client controller injected before JavaFX startup.
controller - Variable in class it.polimi.ingsw.gc14.View.GUI.LeaderboardFXMLController
Client controller for fetching game state and sending actions.
controller - Variable in class it.polimi.ingsw.gc14.View.GUI.LoginFXMLController
Client controller used to initiate the connection.
controller - Variable in class it.polimi.ingsw.gc14.View.GUI.MainFXMLController
Client controller for fetching game state and sending player actions.
controller - Variable in class it.polimi.ingsw.gc14.View.GUI.TotemFXMLController
Client controller for sending the totem choice.
controllerLeaderboard - Variable in class it.polimi.ingsw.gc14.View.GUI.GUI
Controller for the leaderboard FXML scene.
controllerLogin - Variable in class it.polimi.ingsw.gc14.View.GUI.GUI
Controller for the login FXML scene.
controllerMain - Variable in class it.polimi.ingsw.gc14.View.GUI.GUI
Controller for the main FXML scene.
controllerTotem - Variable in class it.polimi.ingsw.gc14.View.GUI.GUI
Controller for the totem FXML scene.
core - Variable in class it.polimi.ingsw.gc14.View.GUI.FireParticleSystem.Particle
Primary visible circle node.
createAndRegisterHandler(String, Socket, ObjectOutputStream, ObjectInputStream) - Method in class it.polimi.ingsw.gc14.Network.TCP.Server.TCPServer
Creates a ClientHandler, registers it in pendingHeartbeat and clientHandlers, but does NOT start its thread — callers start the thread after any extra setup (e.g. sending a model snapshot).
createCard(DecksCreator.BuildingCardDefinition) - Static method in class it.polimi.ingsw.gc14.Model.DecksCreator
Instantiates a BuildingCard from the given definition.
createCard(DecksCreator.TribeCardDefinition) - Static method in class it.polimi.ingsw.gc14.Model.DecksCreator
Instantiates a TribeCard from the given definition.
createCard(PlayableCard, boolean, boolean, Region) - Method in class it.polimi.ingsw.gc14.View.GUI.MainFXMLController
Creates a StackPane for a playable card, scaling its height to a fraction of parent's scene.
createCardPopup(PlayableCard, boolean, boolean) - Method in class it.polimi.ingsw.gc14.View.GUI.MainFXMLController
Creates a fixed-height StackPane card widget suitable for use inside the popup.
createOrder(String) - Method in class it.polimi.ingsw.gc14.View.GUI.MainFXMLController
Creates a StackPane containing the order card image for a game of num players.
createPlayerRow(int, Player) - Method in class it.polimi.ingsw.gc14.View.GUI.LeaderboardFXMLController
Builds a styled leaderboard row showing rank, totem, username, stats, and prestige for player.
createSlot(Slot, boolean, boolean) - Method in class it.polimi.ingsw.gc14.View.GUI.MainFXMLController
Creates a StackPane for a board slot, optionally overlaying the occupying player's totem.
createStatItem(String, String, double) - Method in class it.polimi.ingsw.gc14.View.GUI.LeaderboardFXMLController
Creates a single icon + label widget for one stat type.
createStatsBox(Player) - Method in class it.polimi.ingsw.gc14.View.GUI.LeaderboardFXMLController
Creates a compact icon+count stats strip for all card types of player.
currentState - Variable in class it.polimi.ingsw.gc14.Model.Game
The current state of the game.
currentState - Variable in class it.polimi.ingsw.gc14.Model.MiniModel
Current state of the game.
currentState - Variable in class it.polimi.ingsw.gc14.Network.NetworkEvent
Current state of the game associated with the event.
CurrentState - Class in it.polimi.ingsw.gc14.Model.GamePackage
Represents the current state of the game.
CurrentState() - Constructor for class it.polimi.ingsw.gc14.Model.GamePackage.CurrentState
Creates a new CurrentState object with default initial values.
currentUsername - Variable in class it.polimi.ingsw.gc14.ClientLauncherTUI
Username of the currently logged-in player; empty string before login.
A B C D E F G H I J K L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form