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

O

obtainBuildableCells() - Method in class it.polimi.ingsw.model.Player
Provides a list of cells on which the selected player can build on
obtainBuildableCells() - Method in interface it.polimi.ingsw.model.PlayerInterface
Provides a list of cells on which the selected player can build on
obtainBuildableCells(String) - Method in class it.polimi.ingsw.controller.ServerController
Provides the cells on which the player's selected worker can build on
obtainBuildingBlocks(Cell) - Method in class it.polimi.ingsw.model.Player
Provides a list of blocks which the selected worker can build on the given cell
obtainBuildingBlocks(Cell) - Method in interface it.polimi.ingsw.model.PlayerInterface
Provides a list of blocks which the selected worker can build on the given cell
obtainWalkableCells() - Method in class it.polimi.ingsw.model.Player
Provides a list of cells on which the selected player can walk to
obtainWalkableCells() - Method in interface it.polimi.ingsw.model.PlayerInterface
Provides a list of cells on which the selected player can walk to
obtainWalkableCells(String) - Method in class it.polimi.ingsw.controller.ServerController
Provides the cells on which the player's selected worker can move to
offset(CursorPosition, int, int) - Static method in class it.polimi.ingsw.view.cli.console.CursorPosition
 
OK - it.polimi.ingsw.network.message.Type
 
onArrowDown() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.InputDialog
Selects the next ActiveItem on the Dialog
onArrowDown() - Method in class it.polimi.ingsw.view.cli.console.graphics.DetailedSingleChoiceListDialog
Selects the next ActiveItem on the Dialog and refreshes the details
onArrowDown() - Method in class it.polimi.ingsw.view.cli.console.graphics.GridOverlay
Moves to the cell immediately below the current one, highlighting it;
onArrowDown() - Method in class it.polimi.ingsw.view.cli.console.graphics.ListPane
Selects the next ActiveItem on the Dialog and refreshes the details
onArrowDown() - Method in class it.polimi.ingsw.view.cli.console.graphics.MultipleChoiceListDialog
Selects the next ActiveItem on the Dialog and refreshes the details
onArrowDown() - Method in class it.polimi.ingsw.view.cli.console.graphics.SingleChoiceListPane
Selects the next ActiveItem on the Dialog
onArrowDown() - Method in interface it.polimi.ingsw.view.cli.console.KeyEventListener
Defines the listener behavior when the Arrow Down key is pressed
onArrowDown() - Method in class it.polimi.ingsw.view.cli.console.printers.fancyPrinter.FancyPrinterBoardUtils
Defines the listener behavior when the Arrow Down key is pressed
onArrowLeft() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.InputDialog
Selects the previous ActiveItem on the Dialog
onArrowLeft() - Method in class it.polimi.ingsw.view.cli.console.graphics.DetailedSingleChoiceListDialog
Selects the previous ActiveItem on the Dialog and refreshes the details
onArrowLeft() - Method in class it.polimi.ingsw.view.cli.console.graphics.GridOverlay
Moves to the cell immediately on the left of the current one, highlighting it;
onArrowLeft() - Method in class it.polimi.ingsw.view.cli.console.graphics.ListPane
Selects the previous ActiveItem on the Dialog and refreshes the details
onArrowLeft() - Method in class it.polimi.ingsw.view.cli.console.graphics.MultipleChoiceListDialog
Selects the previous ActiveItem on the Dialog and refreshes the details
onArrowLeft() - Method in class it.polimi.ingsw.view.cli.console.graphics.SingleChoiceListPane
Selects the previous ActiveItem on the Dialog
onArrowLeft() - Method in interface it.polimi.ingsw.view.cli.console.KeyEventListener
Defines the listener behavior when the Arrow Left key is pressed
onArrowLeft() - Method in class it.polimi.ingsw.view.cli.console.printers.fancyPrinter.FancyPrinterBoardUtils
Defines the listener behavior when the Arrow Left key is pressed
onArrowRight() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.InputDialog
Selects the next ActiveItem on the Dialog
onArrowRight() - Method in class it.polimi.ingsw.view.cli.console.graphics.DetailedSingleChoiceListDialog
Selects the next ActiveItem on the Dialog and refreshes the details
onArrowRight() - Method in class it.polimi.ingsw.view.cli.console.graphics.GridOverlay
Moves to the cell immediately on the right of the current one, highlighting it;
onArrowRight() - Method in class it.polimi.ingsw.view.cli.console.graphics.ListPane
Selects the next ActiveItem on the Dialog and refreshes the details
onArrowRight() - Method in class it.polimi.ingsw.view.cli.console.graphics.MultipleChoiceListDialog
Selects the next ActiveItem on the Dialog and refreshes the details
onArrowRight() - Method in class it.polimi.ingsw.view.cli.console.graphics.SingleChoiceListPane
Selects the next ActiveItem on the Dialog
onArrowRight() - Method in interface it.polimi.ingsw.view.cli.console.KeyEventListener
Defines the listener behavior when the Arrow Right key is pressed
onArrowRight() - Method in class it.polimi.ingsw.view.cli.console.printers.fancyPrinter.FancyPrinterBoardUtils
Defines the listener behavior when the Arrow Right key is pressed
onArrowUp() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.InputDialog
Selects the previous ActiveItem on the Dialog
onArrowUp() - Method in class it.polimi.ingsw.view.cli.console.graphics.DetailedSingleChoiceListDialog
Selects the previous ActiveItem on the Dialog and refreshes the details
onArrowUp() - Method in class it.polimi.ingsw.view.cli.console.graphics.GridOverlay
Moves to the cell immediately above the current one, highlighting it;
onArrowUp() - Method in class it.polimi.ingsw.view.cli.console.graphics.ListPane
Selects the previous ActiveItem on the Dialog and refreshes the details
onArrowUp() - Method in class it.polimi.ingsw.view.cli.console.graphics.MultipleChoiceListDialog
Selects the previous ActiveItem on the Dialog and refreshes the details
onArrowUp() - Method in class it.polimi.ingsw.view.cli.console.graphics.SingleChoiceListPane
Selects the previous ActiveItem on the Dialog
onArrowUp() - Method in interface it.polimi.ingsw.view.cli.console.KeyEventListener
Defines the listener behavior when the Arrow Up key is pressed
onArrowUp() - Method in class it.polimi.ingsw.view.cli.console.printers.fancyPrinter.FancyPrinterBoardUtils
Defines the listener behavior when the Arrow Up key is pressed
onBackspace() - Method in class it.polimi.ingsw.view.cli.console.CursorPosition
 
onBackspace() - Method in interface it.polimi.ingsw.view.cli.console.KeyEventListener
Defines the listener behavior when the Backspace key is pressed
onBlocksObtained(String, List<Block>) - Method in class it.polimi.ingsw.controller.ServerController
Notifies a single user about the possible blocks its selected worker can build, if there's more than one
onBlocksObtained(String, List<Block>) - Method in interface it.polimi.ingsw.listeners.BuildingBlocksListener
Notifies that a build action offers the player to choose what block to build
onBuildableCell(String, List<Cell>) - Method in class it.polimi.ingsw.controller.ServerController
Notifies a single user about the possible cells on which its selected worker can build on
onBuildableCell(String, List<Cell>) - Method in interface it.polimi.ingsw.listeners.BuildableCellsListener
Notifies that there are buildable cells
onBuildableCellsReceived(BuildableCellsResponse) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
onBuildableCellsReceived(BuildableCellsResponse) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Manages a BuildableCellsResponse
onBuildAction(List<Cell>) - Method in class it.polimi.ingsw.controller.ServerController
Notifies all users about a successful build action
Saves the current game state
onBuildAction(List<Cell>) - Method in interface it.polimi.ingsw.listeners.BuildActionListener
Notifies that a successful build action happened
onBuildingCellSelected(PossibleBuildingBlockResponse) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
onBuildingCellSelected(PossibleBuildingBlockResponse) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Manages a PossibleBuildingBlockResponse
onCarriageReturn() - Method in class it.polimi.ingsw.view.cli.console.CursorPosition
 
onCarriageReturn() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.ClosingButton
Closes the parent, performing eventual operations defined by the caller's Dialog.onQuit().
onCarriageReturn() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.InputDialog
Performs an action based on the currently selected ActiveItem
onCarriageReturn() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.ListItem
Adds or removes this to the parent's inputs
onCarriageReturn() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.ReturningListItem
Closes its parent and makes the inputManager evaluate its return value
onCarriageReturn() - Method in class it.polimi.ingsw.view.cli.console.graphics.ErrorDialog
Removes the error dialog
onCarriageReturn() - Method in class it.polimi.ingsw.view.cli.console.graphics.GridOverlay
Returns the currently selected cell to the inputManager
onCarriageReturn() - Method in class it.polimi.ingsw.view.cli.console.graphics.ListPane
Defines the listener behavior when the Enter key is pressed
onCarriageReturn() - Method in class it.polimi.ingsw.view.cli.console.graphics.MessageDialog
Removes the message dialog
onCarriageReturn() - Method in class it.polimi.ingsw.view.cli.console.graphics.MultipleChoiceListDialog
Selects/deselects list items or confirms the selection, based on the currentItem
onCarriageReturn() - Method in class it.polimi.ingsw.view.cli.console.graphics.SingleChoiceListPane
Performs an action based on the currently selected ActiveItem
onCarriageReturn() - Method in class it.polimi.ingsw.view.cli.console.graphics.TextInputDialog
If the currently selected item is a TextBox does nothing, otherwise tries to evaluate the input (see ClosingButton.onCarriageReturn();
Pressing ENTER on a textBox causes the first character to be hidden (it does not get removed from the actual input string) due to a conflict with the RawConsoleInput input method.
onCarriageReturn() - Method in interface it.polimi.ingsw.view.cli.console.KeyEventListener
Defines the listener behavior when the Enter key is pressed
onCarriageReturn() - Method in class it.polimi.ingsw.view.cli.console.printers.fancyPrinter.FancyPrinterBoardUtils
Defines the listener behavior when the Enter key is pressed
onCreate() - Method in class it.polimi.ingsw.view.gui.viewController.LobbyController
 
onDisable() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.ActiveItem
Disables the component
onDisable() - Method in interface it.polimi.ingsw.view.cli.console.graphics.components.Toggleable
Disables the component
onDisable() - Method in class it.polimi.ingsw.view.cli.console.graphics.GridOverlay
Disables the component
onDisconnect(User) - Method in class it.polimi.ingsw.network.server.Server
Disconnects an user from the server
onEndGame(String) - Method in interface it.polimi.ingsw.listeners.EndGameListener
Notifies that the game ended and a winner has been declared
onEndGame(String) - Method in class it.polimi.ingsw.network.server.Lobby
Sends a WinnerDeclaredEvent to all users, deletes the saved game, moves all the player to the waiting room and removes the lobby from the server's lobby list
onGameBoardUpdate(GameBoardUpdate) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
Visitor for GameBoardUpdate
onGameBoardUpdate(GameBoardUpdate) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Refreshes the game board
onGameStart(GameStartEvent) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
Visitor for GameStartEvent
onGameStart(GameStartEvent) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Manages a GameStartEvent
onGodChosen(ChosenGodsEvent) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
Visitor for ChosenGodsEvent
onGodChosen(ChosenGodsEvent) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Notifies the user about the gods chosen for the game
onJoin() - Method in class it.polimi.ingsw.view.gui.viewController.LobbyController
 
onLobbySelected() - Method in class it.polimi.ingsw.view.gui.viewController.LobbyController
 
onLogin() - Method in class it.polimi.ingsw.view.gui.viewController.LoginController
 
onLogin(LoginResponse) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
Visitor for LoginResponse
onLogin(LoginResponse) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Manages the login response
onMatchReloadResponse(ChooseToReloadMatchResponse) - Method in class it.polimi.ingsw.controller.MessageManagerParser
Handles a ChooseToReloadMatchResponse message
onMatchReloadResponse(ChooseToReloadMatchResponse) - Method in interface it.polimi.ingsw.controller.ServerMessageManagerVisitor
onMoveAction(List<Cell>) - Method in class it.polimi.ingsw.controller.ServerController
Notifies all users about a successful movement action
Saves the current game state
onMoveAction(List<Cell>) - Method in interface it.polimi.ingsw.listeners.MoveActionListener
Notifies that a successful move action happened
onMovedToWaitingRoom(MovedToWaitingRoomResponse) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
onMovedToWaitingRoom(MovedToWaitingRoomResponse) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Notifies the user that it's been moved to the waiting room upon an opponent's disconnection
onOldConfigSelected() - Method in class it.polimi.ingsw.view.gui.viewController.LoginController
 
onOptionChosen() - Method in class it.polimi.ingsw.view.gui.viewController.GameScreenController
 
onPlayerBuild(PlayerBuildEvent) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
Visitor for PlayerBuildEvent
onPlayerBuild(PlayerBuildEvent) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Manages a PlayerBuildEvent
onPlayerLoss(String, List<Cell>) - Method in class it.polimi.ingsw.controller.ServerController
Notifies all users that a player lost
onPlayerLoss(String, List<Cell>) - Method in interface it.polimi.ingsw.listeners.PlayerLostListener
Notifies that a player lost
onPlayerLoss(String, List<Cell>) - Method in class it.polimi.ingsw.network.server.Lobby
Removes the user which lost from the in-game players, and overrides the saved file
onPlayerMove(PlayerMoveEvent) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
Visitor for PlayerMoveEvent
onPlayerMove(PlayerMoveEvent) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Manages a PlayerMoveEvent
onPlayerRemoved(PlayerRemovedEvent) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
Visitor for PlayerRemovedEvent
onPlayerRemoved(PlayerRemovedEvent) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Manages a PlayerRemovedEvent, showing the winner
onPlayerSelected() - Method in class it.polimi.ingsw.view.gui.viewController.StartingPlayerController
 
onPrintableKey(char) - Method in class it.polimi.ingsw.view.cli.console.CursorPosition
 
onPrintableKey(char) - Method in interface it.polimi.ingsw.view.cli.console.KeyEventListener
Defines the listener behavior when a printable character key is pressed
onQuit() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.Dialog
Determines the Dialog behaviour when it is asked to close itself
onQuit() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.InputDialog
Determines the Dialog behaviour when it is asked to close itself
onQuit() - Method in class it.polimi.ingsw.view.cli.console.graphics.ErrorDialog
Removes this dialog
onQuit() - Method in class it.polimi.ingsw.view.cli.console.graphics.MessageDialog
Removes the message dialog
onQuit() - Method in class it.polimi.ingsw.view.cli.console.graphics.MultipleChoiceListDialog
Determines the Dialog behaviour when it is asked to close itself
onQuit() - Method in class it.polimi.ingsw.view.gui.viewController.GameScreenController
 
onQuit() - Method in class it.polimi.ingsw.view.gui.viewController.LobbyController
 
onRelease() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.ActiveItem
Defines the object behaviour when released
onRelease() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.Button
Releases the button, removing the shadow highlighting the selection
onRelease() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.ReturningButton
Releases the button, removing the shadow highlighting the selection
onRelease() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.SimpleListItem
Brings back the item
onRelease() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.TextBox
Hides the textBox shadows, saving an eventual input
onRelease() - Method in class it.polimi.ingsw.view.cli.console.graphics.GridOverlay
Defines the object behaviour when released
onRelease() - Method in class it.polimi.ingsw.view.cli.console.graphics.ListPane
Defines the object behaviour when released
onRelease() - Method in class it.polimi.ingsw.view.cli.console.graphics.SingleChoiceListPane
Defines the object behaviour when released
onReloadMatch(MouseEvent) - Method in class it.polimi.ingsw.view.gui.viewController.ReloadMatchController
 
onSelect() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.ActiveItem
Defines the object behaviour when selected
onSelect() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.Button
Highlights the button, drawing its shadows
onSelect() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.ReturningButton
Highlights the button, drawing its shadows
onSelect() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.SimpleListItem
Highlights the item, using a light color scheme
onSelect() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.TextBox
Shows the textBox shadows, placing the cursor at its beginning and removing its previous input
onSelect() - Method in class it.polimi.ingsw.view.cli.console.graphics.GridOverlay
Defines the object behaviour when selected
onSelect() - Method in class it.polimi.ingsw.view.cli.console.graphics.ListPane
Defines the object behaviour when selected
onSelect() - Method in class it.polimi.ingsw.view.cli.console.graphics.SingleChoiceListPane
Defines the object behaviour when selected
onSelectedWorker(String, List<PossibleActions>, Worker) - Method in class it.polimi.ingsw.controller.ServerController
Notifies a single user that its worker choice was correct
Saves the current game state
onSelectedWorker(String, List<PossibleActions>, Worker) - Method in interface it.polimi.ingsw.listeners.SelectWorkerListener
Notifies that the worker choice was successful
onTab() - Method in class it.polimi.ingsw.view.cli.console.graphics.components.InputDialog
Selects the next ActiveItem on the Dialog
onTab() - Method in class it.polimi.ingsw.view.cli.console.graphics.DetailedSingleChoiceListDialog
Selects the next ActiveItem on the Dialog and refreshes the details
onTab() - Method in class it.polimi.ingsw.view.cli.console.graphics.MultipleChoiceListDialog
Selects the next ActiveItem on the Dialog and refreshes the details
onTab() - Method in class it.polimi.ingsw.view.cli.console.graphics.SingleChoiceListPane
Selects the next ActiveItem on the Dialog
onTab() - Method in interface it.polimi.ingsw.view.cli.console.KeyEventListener
Defines the listener behavior when the Tab key is pressed
onTab() - Method in class it.polimi.ingsw.view.cli.console.printers.fancyPrinter.FancyPrinterBoardUtils
Defines the listener behavior when the Tab key is pressed
onTurnEnd(EndTurnEvent) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
Visitor for EndTurnEvent
onTurnEnd(EndTurnEvent) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Manages an EndTurnEvent
onTurnEnd(String, List<Cell>) - Method in class it.polimi.ingsw.controller.ServerController
Notifies all users about the end of the current turn and the next player who has to play
Saves the current state
onTurnEnd(String, List<Cell>) - Method in interface it.polimi.ingsw.listeners.EndTurnListener
Notifies that the current turn has ended
onWalkableCells(String, List<Cell>) - Method in class it.polimi.ingsw.controller.ServerController
Notifies a single user about the possible cells on which its selected worker can walk to
onWalkableCells(String, List<Cell>) - Method in interface it.polimi.ingsw.listeners.WalkableCellsListener
Notifies that there are walkable cells
onWalkableCellsReceived(WalkableCellsResponse) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
onWalkableCellsReceived(WalkableCellsResponse) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Manages a WalkableCellsResponse
onWinnerDeclared(WinnerDeclaredEvent) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
onWinnerDeclared(WinnerDeclaredEvent) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Manages a WinnerDeclaredEvent, showing the winner
onWorkerAdd(WorkerAddedEvent) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
Visitor for WorkerAddedEvent
onWorkerAdd(WorkerAddedEvent) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Manages a WorkerAddedEvent
onWorkerAdd(List<Cell>) - Method in class it.polimi.ingsw.controller.ServerController
Notifies all users about a successful worker placement
onWorkerAdd(List<Cell>) - Method in interface it.polimi.ingsw.listeners.AddWorkerListener
Notifies that a worker has been added
onWorkerSelected(WorkerSelectedResponse) - Method in interface it.polimi.ingsw.network.client.ClientMessageManagerVisitor
onWorkerSelected(WorkerSelectedResponse) - Method in class it.polimi.ingsw.network.client.MessageManagerParser
Manages a WorkerSelectedResponse
out - Static variable in class it.polimi.ingsw.view.cli.console.Console
 
overrideCachedBoard(List<Cell>) - Method in class it.polimi.ingsw.view.cli.console.printers.BoardUtils
Overrides, without checking for diffs, the cached gameBoard
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