Index
All Classes and Interfaces|All Packages
A
- addModelObserver(ModelObserver) - Method in class ca.uqam.info.student.skyjo.controller.ControllerImpl
- advancePlayer() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
C
- ca.uqam.info.student.skyjo.controller - package ca.uqam.info.student.skyjo.controller
- ca.uqam.info.student.skyjo.model - package ca.uqam.info.student.skyjo.model
- ca.uqam.info.student.skyjo.view - package ca.uqam.info.student.skyjo.view
- CardImpl - Class in ca.uqam.info.student.skyjo.model
-
Implementation of the Card's interface.
- CardImpl(int) - Constructor for class ca.uqam.info.student.skyjo.model.CardImpl
-
Creates a Card with the given int.
- ControllerImpl - Class in ca.uqam.info.student.skyjo.controller
-
Interface for controller.
- ControllerImpl() - Constructor for class ca.uqam.info.student.skyjo.controller.ControllerImpl
-
Default constructor.
- createModel(ModelPreset, String[], Random) - Method in class ca.uqam.info.student.skyjo.controller.ModelFactoryImpl
-
Creates and returns a new instance of the Skyjo model.
D
- doCommand(int) - Method in class ca.uqam.info.student.skyjo.controller.ControllerImpl
E
- eliminateColumn(int, int) - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- eliminateRow(int, int) - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- endGame() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- EndTurnCommand - Class in ca.uqam.info.student.skyjo.controller
-
Command representing the end of a player's turn.
- EndTurnCommand(SkyjoModel) - Constructor for class ca.uqam.info.student.skyjo.controller.EndTurnCommand
-
Constructs an EndTurnCommand associated with the given model.
- execute() - Method in class ca.uqam.info.student.skyjo.controller.EndTurnCommand
- execute() - Method in class ca.uqam.info.student.skyjo.controller.ReduceColumnCommand
- execute() - Method in class ca.uqam.info.student.skyjo.controller.ReduceRowCommand
- execute() - Method in class ca.uqam.info.student.skyjo.controller.ReplaceCommand
- execute() - Method in class ca.uqam.info.student.skyjo.controller.RevealCommand
G
- getAmountDeckCards() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- getAmountDiscardPileCards() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- getAmountPlayers() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- getBufferCard() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- getCardForPlayerByPosition(int, int, int) - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- getCurrentDimensionsX(int) - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- getCurrentDimensionsY(int) - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- getCurrentPlayerCommands() - Method in class ca.uqam.info.student.skyjo.controller.ControllerImpl
- getCurrentPlayerIndex() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- getFollowUpCommands() - Method in class ca.uqam.info.student.skyjo.controller.EndTurnCommand
- getFollowUpCommands() - Method in class ca.uqam.info.student.skyjo.controller.ReduceColumnCommand
- getFollowUpCommands() - Method in class ca.uqam.info.student.skyjo.controller.ReduceRowCommand
- getFollowUpCommands() - Method in class ca.uqam.info.student.skyjo.controller.ReplaceCommand
- getFollowUpCommands() - Method in class ca.uqam.info.student.skyjo.controller.RevealCommand
- getGameEnder() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- getInitialDimensionsX() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- getInitialDimensionsY() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- getModel() - Method in class ca.uqam.info.student.skyjo.controller.ControllerImpl
- getPlayerName(int) - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- getPlayerScores() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- getRound() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- getType() - Method in class ca.uqam.info.student.skyjo.model.CardImpl
-
Returns the type of this card.
- getValue() - Method in class ca.uqam.info.student.skyjo.model.CardImpl
-
Returns the numeric value of this card.
I
- initializeModel(ModelPreset, String[], Random) - Method in class ca.uqam.info.student.skyjo.controller.ControllerImpl
-
Created a new model.
- isAllPlayerCardsRevealed(int) - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- isBufferCardPresent() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- isGameOver() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- isGameOverInitialized() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
-
This methode iterates through all players and verifies if at least one player has revealed all of their cards.
- isPlayerCardAtPositionRevealed(int, int, int) - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- isSpaceholder() - Method in class ca.uqam.info.student.skyjo.controller.EndTurnCommand
- isSpaceholder() - Method in class ca.uqam.info.student.skyjo.controller.ReduceColumnCommand
- isSpaceholder() - Method in class ca.uqam.info.student.skyjo.controller.ReduceRowCommand
- isSpaceholder() - Method in class ca.uqam.info.student.skyjo.controller.ReplaceCommand
- isSpaceholder() - Method in class ca.uqam.info.student.skyjo.controller.RevealCommand
- isUndoable() - Method in class ca.uqam.info.student.skyjo.controller.EndTurnCommand
- isUndoable() - Method in class ca.uqam.info.student.skyjo.controller.ReduceColumnCommand
- isUndoable() - Method in class ca.uqam.info.student.skyjo.controller.ReduceRowCommand
- isUndoable() - Method in class ca.uqam.info.student.skyjo.controller.ReplaceCommand
- isUndoable() - Method in class ca.uqam.info.student.skyjo.controller.RevealCommand
- isUndoAvailable() - Method in class ca.uqam.info.student.skyjo.controller.ControllerImpl
L
- LauncherTp3 - Class in ca.uqam.info.student.skyjo.view
-
Launcher for a textual / TTY session with all physical players sharing one keyboard / screen.
- LauncherTp3() - Constructor for class ca.uqam.info.student.skyjo.view.LauncherTp3
-
Default constructor, as imposed by javadoc.
M
- main(String[]) - Static method in class ca.uqam.info.student.skyjo.view.LauncherTp3
-
Starts game by creating a new controller (which in turn creates a new model).
- ModelFactoryImpl - Class in ca.uqam.info.student.skyjo.controller
-
Implementation of the ModelFactory interface.
- ModelFactoryImpl() - Constructor for class ca.uqam.info.student.skyjo.controller.ModelFactoryImpl
-
Default constructor.
P
- peekDiscardPile() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- popBufferCard() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- popDeck() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- popDiscardPile() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- pushDiscardPile(Card) - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
R
- ReduceColumnCommand - Class in ca.uqam.info.student.skyjo.controller
-
This class is used to create a command for eliminating a determinate column to the player's grid.
- ReduceColumnCommand(SkyjoModel, int, int) - Constructor for class ca.uqam.info.student.skyjo.controller.ReduceColumnCommand
-
Creates a command to eliminate a column.
- ReduceRowCommand - Class in ca.uqam.info.student.skyjo.controller
-
This class is used to create a command for eliminating a determinate row to the player's grid.
- ReduceRowCommand(SkyjoModel, int, int) - Constructor for class ca.uqam.info.student.skyjo.controller.ReduceRowCommand
-
Creates a command to eliminate a row.
- ReplaceCommand - Class in ca.uqam.info.student.skyjo.controller
-
This class is used to create a command for replacing the buffer card whit any card from a player's grid.
- ReplaceCommand(SkyjoModel, int, int, int) - Constructor for class ca.uqam.info.student.skyjo.controller.ReplaceCommand
-
Creates a command to replace the buffer card.
- replacePlayerCard(int, int, int, Card) - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- restoreColumn(int, int, Card[]) - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- restoreRow(int, int, Card[]) - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- RevealCommand - Class in ca.uqam.info.student.skyjo.controller
-
This class is used to create a command for revealing card's value.
- RevealCommand(SkyjoModel, int, int, int) - Constructor for class ca.uqam.info.student.skyjo.controller.RevealCommand
-
Creates a command to either draw a card into the buffer or reject the buffer card and reveal a specific card on the player's grid.
- revealPlayerCard(int, int, int) - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
S
- setBufferCard(Card) - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- setGameEnder() - Method in class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
- SkyjoModelImpl - Class in ca.uqam.info.student.skyjo.model
-
Implementation of the SkyjoModel interface.
- SkyjoModelImpl(String[], Random, ModelPreset) - Constructor for class ca.uqam.info.student.skyjo.model.SkyjoModelImpl
-
Constructs a dynamic Skyjo model.
T
- toString() - Method in class ca.uqam.info.student.skyjo.controller.EndTurnCommand
- toString() - Method in class ca.uqam.info.student.skyjo.controller.ReduceColumnCommand
- toString() - Method in class ca.uqam.info.student.skyjo.controller.ReduceRowCommand
- toString() - Method in class ca.uqam.info.student.skyjo.controller.ReplaceCommand
- toString() - Method in class ca.uqam.info.student.skyjo.controller.RevealCommand
- toString() - Method in class ca.uqam.info.student.skyjo.model.CardImpl
-
Returns a formatted string representations of the card value.
U
- undo() - Method in class ca.uqam.info.student.skyjo.controller.EndTurnCommand
- undo() - Method in class ca.uqam.info.student.skyjo.controller.ReduceColumnCommand
- undo() - Method in class ca.uqam.info.student.skyjo.controller.ReduceRowCommand
- undo() - Method in class ca.uqam.info.student.skyjo.controller.ReplaceCommand
- undo() - Method in class ca.uqam.info.student.skyjo.controller.RevealCommand
- undoLastCommand() - Method in class ca.uqam.info.student.skyjo.controller.ControllerImpl
All Classes and Interfaces|All Packages