Index
A B C D E F G H I J K L M N O P Q R S T U V W Y
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
P
- parent - Variable in class it.polimi.ingsw.view.cli.console.graphics.components.WindowItem
-
The window which invoked the dialog
- parseMessageFromServerToClient(Message) - Method in class it.polimi.ingsw.controller.MessageManagerParser
-
Sends a message
- PASS_TURN - it.polimi.ingsw.model.PossibleActions
- passiveItems - Variable in class it.polimi.ingsw.view.cli.console.graphics.components.WindowItem
-
A list containing all non-active items (e.g.
- passTurn(String) - Method in class it.polimi.ingsw.controller.ServerController
-
Handles a turn end request
- ping() - Method in class it.polimi.ingsw.network.client.NetworkHandler
-
Handles the client-server ping messages to check for connectivity
- ping() - Method in class it.polimi.ingsw.network.server.VirtualClient
-
Manages the ping mechanism manually, disconnecting the user if no pong message is received after a certain amount of time after the ping is sent
- placeCursor(int, int) - Static method in class it.polimi.ingsw.view.cli.console.Console
-
Places the cursor at the given coordinates
- placeWorker() - Method in class it.polimi.ingsw.view.cli.CLI
-
Asks the user to place its worker on the board
- placeWorker() - Method in class it.polimi.ingsw.view.cli.console.printers.basicPrinter.BasicPrinter
-
Asks the user to place its worker on the board
- placeWorker() - Method in class it.polimi.ingsw.view.cli.console.printers.fancyPrinter.FancyPrinter
-
Asks the user to place its worker on the board
- placeWorker() - Method in class it.polimi.ingsw.view.cli.console.printers.Printer
-
Asks the user to place its worker on the board
- placeWorker() - Method in class it.polimi.ingsw.view.gui.GUI
- placeWorker() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Asks the user to place its worker on the board
- Player - Class in it.polimi.ingsw.model
-
Representation of a Player during a game
- Player(String, God, Color) - Constructor for class it.polimi.ingsw.model.Player
-
Creates a new Player, assigning its
Player.name
, thePlayer.god
it chose and thePlayer.color
assigned to its workers. - PLAYER_REMOVED - it.polimi.ingsw.network.message.Type
- PlayerBuildEvent - Class in it.polimi.ingsw.network.message.fromServerToClient
- PlayerBuildEvent(Type, String, List<Cell>) - Constructor for class it.polimi.ingsw.network.message.fromServerToClient.PlayerBuildEvent
- PlayerBuildRequest - Class in it.polimi.ingsw.network.message.fromClientToServer
- PlayerBuildRequest(String, Cell, Block, Worker) - Constructor for class it.polimi.ingsw.network.message.fromClientToServer.PlayerBuildRequest
- playerData - Variable in class it.polimi.ingsw.view.cli.console.printers.BoardUtils
- PlayerData - Class in it.polimi.ingsw.dataClass
-
A data class for Player
- PlayerData(String, Color, List<Worker>, GodData, Worker) - Constructor for class it.polimi.ingsw.dataClass.PlayerData
-
Default constructor
- PlayerInterface - Interface in it.polimi.ingsw.model
-
Player interface
- PlayerLostListener - Interface in it.polimi.ingsw.listeners
-
Listens for a player loss
- PlayerMoveEvent - Class in it.polimi.ingsw.network.message.fromServerToClient
- PlayerMoveEvent(Type, String, List<Cell>) - Constructor for class it.polimi.ingsw.network.message.fromServerToClient.PlayerMoveEvent
- PlayerMoveRequest - Class in it.polimi.ingsw.network.message.fromClientToServer
- PlayerMoveRequest(String, Cell, Worker) - Constructor for class it.polimi.ingsw.network.message.fromClientToServer.PlayerMoveRequest
- PlayerRemovedEvent - Class in it.polimi.ingsw.network.message.fromServerToClient
- PlayerRemovedEvent(String, List<Cell>) - Constructor for class it.polimi.ingsw.network.message.fromServerToClient.PlayerRemovedEvent
- PossibleActions - Enum in it.polimi.ingsw.model
-
The possible actions a player can perform
- PossibleBuildingBlockResponse - Class in it.polimi.ingsw.network.message.fromServerToClient
- PossibleBuildingBlockResponse(Type, String, List<Block>) - Constructor for class it.polimi.ingsw.network.message.fromServerToClient.PossibleBuildingBlockResponse
- previousActiveItem() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.WindowItem
-
Retrieves the previous item
- print(String) - Method in class it.polimi.ingsw.view.cli.console.RawConsoleOutput
-
Prints a string starting from the current cursor position
The cursor is moved at the end of the printed string - PrintableObject - Class in it.polimi.ingsw.view.cli.console.graphics.components
-
Allows the use of graphics via ANSI arts, loading the corresponding files from the resources folder
- PrintableObject(InputStream, int, int) - Constructor for class it.polimi.ingsw.view.cli.console.graphics.components.PrintableObject
-
Loads the object from a text file
- printAt(CursorPosition, String) - Method in class it.polimi.ingsw.view.cli.console.RawConsoleOutput
-
Prints a string starting from a certain position
The cursor is moved at the end of the printed string - printBlock(int) - Method in class it.polimi.ingsw.view.gui.utils.MapTileImage
- printBuilding(int) - Method in class it.polimi.ingsw.view.gui.utils.MapTileImage
- Printer - Class in it.polimi.ingsw.view.cli.console.printers
-
Console Printing Utilities
- Printer(CLI, Console) - Constructor for class it.polimi.ingsw.view.cli.console.printers.Printer
-
Default constructor
- printError(String) - Method in class it.polimi.ingsw.view.cli.console.printers.basicPrinter.BasicPrinter
-
Shows an error message
- printError(String) - Method in class it.polimi.ingsw.view.cli.console.printers.fancyPrinter.FancyPrinter
-
Shows a popup error message
- printError(String) - Method in class it.polimi.ingsw.view.cli.console.printers.Printer
-
Shows an error message
- println(String) - Method in class it.polimi.ingsw.view.cli.console.RawConsoleOutput
-
Prints a string starting from the current cursor position, then terminates the line
The cursor is moved at the beginning of the first free row from the starting point - printlnAt(CursorPosition, String) - Method in class it.polimi.ingsw.view.cli.console.RawConsoleOutput
-
Prints a string starting from a certain position, then terminates the line
The cursor is moved one row below the initial cursor position - printLogo() - Method in class it.polimi.ingsw.view.cli.CLI
-
Prints the start screen
- printLogo() - Method in class it.polimi.ingsw.view.gui.GUI
- printLogo() - Method in interface it.polimi.ingsw.view.ViewInterface
-
Prints the start screen
- printMessage(String) - Method in class it.polimi.ingsw.view.cli.console.printers.basicPrinter.BasicPrinter
-
Shows a success message
- printMessage(String) - Method in class it.polimi.ingsw.view.cli.console.printers.fancyPrinter.FancyPrinter
-
Shows a popup general message
- printMessage(String) - Method in class it.polimi.ingsw.view.cli.console.printers.Printer
-
Shows a success message
- printOnBuild(List<Cell>) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
-
Shows the buildable cells and asks the user where to build with its chosen worker
- printOnMove(List<Cell>) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
-
Shows the walkable cells and asks the user where to move its chosen worker
- printOptions(List<String>) - Method in class it.polimi.ingsw.view.cli.console.printers.basicPrinter.BasicPrinter
-
Print a list of options, preceded by a number that the user will have to type to choose that option
- printStartingScreen() - Method in class it.polimi.ingsw.view.cli.console.printers.basicPrinter.BasicPrinter
-
Shows the logo
- printStartingScreen() - Method in class it.polimi.ingsw.view.cli.console.printers.fancyPrinter.FancyPrinter
-
Shows the "Santorini" logo
- printStartingScreen() - Method in class it.polimi.ingsw.view.cli.console.printers.Printer
-
Shows the logo
- printUserServerCombos(List<String>) - Method in class it.polimi.ingsw.view.cli.CLI
-
Shows the user the address/username combos
- printUserServerCombos(List<String>) - Method in interface it.polimi.ingsw.view.ViewInterface
-
Shows the user the address/username combos
- printWorker(Color) - Method in class it.polimi.ingsw.view.gui.utils.MapTileImage
- properties - Variable in class it.polimi.ingsw.view.cli.console.graphics.components.Rectangle
-
The object properties
- properties - Variable in class it.polimi.ingsw.view.cli.console.printers.Printer
- PURPLE - it.polimi.ingsw.model.Color
- PURPLE_WORKER_DIR - Static variable in class it.polimi.ingsw.view.gui.utils.MapTileImage
- Push - Class in it.polimi.ingsw.model.godCardsEffects.movementEffects
-
Kick opponent workers when moving
- Push() - Constructor for class it.polimi.ingsw.model.godCardsEffects.movementEffects.Push
-
Default constructor
All Classes|All Packages