A C D G H I M N O P Q R S T V

A

addGameEventListener(IIgelGame.GameEventListener) - Method in class gvprojects.igel.model.IgelGameKurmas
 
addGameEventListener(IIgelGame.GameEventListener) - Method in interface gvprojects.igel.model.IIgelGame
Add a IIgelGame.GameEventListener
announceWin(int) - Method in interface gvprojects.igel.model.IIgelGame.GameEventListener
Reports that the game has been won

C

canMoveHedgehog(int, int) - Method in class gvprojects.igel.model.IgelGameKurmas
 
canMoveHedgehog(int, int, int) - Method in class gvprojects.igel.model.IgelGameKurmas
 
canMoveHedgehog(int, int) - Method in interface gvprojects.igel.model.IIgelGame
Return whether the the top hedgehog at [fromRow, fromColumn] can be moved forward.
canMoveHedgehog(int, int, int) - Method in interface gvprojects.igel.model.IIgelGame
Return whether the the top hedgehog at [fromRow, fromColumn] can be moved to column toColumn.
canPlaceHedgehog(int) - Method in class gvprojects.igel.model.IgelGameKurmas
 
canPlaceHedgehog(int) - Method in interface gvprojects.igel.model.IIgelGame
returns true if the current player can place a hedgehog in row (applies to initial hedgehog placement only).
canSlideHedgehog(int, int) - Method in class gvprojects.igel.model.IgelGameKurmas
 
canSlideHedgehog(int, int, int) - Method in class gvprojects.igel.model.IgelGameKurmas
 
canSlideHedgehog(int, int) - Method in interface gvprojects.igel.model.IIgelGame
Return true if the current player can slide the hedgehog at [fromRow, fromColumn]
canSlideHedgehog(int, int, int) - Method in interface gvprojects.igel.model.IIgelGame
Return true if the current player can slide the hedgehog at [fromRow, fromColumn] to [toRow, fromColumn].
currentDieValue() - Method in interface gvprojects.igel.model.IGameState
Get the current value on the die.
currentDieValue() - Method in class gvprojects.igel.model.IgelGameKurmas
return the current value of the die
currentMessage() - Method in interface gvprojects.igel.model.IGameState
Get the current message.
currentMessage() - Method in class gvprojects.igel.model.IgelGameKurmas
Get the current message.
currentPlayer() - Method in interface gvprojects.igel.model.IGameState
Return the current player's number.
currentPlayer() - Method in class gvprojects.igel.model.IgelGameKurmas
 

D

DEFAULT_HOGS_TO_WIN - Static variable in class gvprojects.igel.model.IgelGameParameters
 
DEFAULT_NUM_COLUMNS - Static variable in class gvprojects.igel.model.IgelGameParameters
 
DEFAULT_NUM_HOGS - Static variable in class gvprojects.igel.model.IgelGameParameters
 
DEFAULT_NUM_PLAYERS - Static variable in class gvprojects.igel.model.IgelGameParameters
 
DEFAULT_NUM_ROWS - Static variable in class gvprojects.igel.model.IgelGameParameters
 

G

getCell(int, int) - Method in interface gvprojects.igel.model.IGameState
return the ICellState object at the given location
getCell(int, int) - Method in class gvprojects.igel.model.IgelGameKurmas
return the ICellState object at the given location
getState() - Method in class gvprojects.igel.model.IgelGameKurmas
 
getState() - Method in interface gvprojects.igel.model.IIgelGame
get a read-only view of the game's current state.
gvprojects.igel.model - package gvprojects.igel.model
 

H

hedgehogsPerPlayer() - Method in interface gvprojects.igel.model.IGameState
Return the number of hedgehogs per player.
hedgehogsPerPlayer() - Method in class gvprojects.igel.model.IgelGameKurmas
 
hedgehogsPerPlayer - Variable in class gvprojects.igel.model.IgelGameParameters
Number of hedgehogs controlled by each player
hedgehogsToWin - Variable in class gvprojects.igel.model.IgelGameParameters
Number of hedgehogs that must cross the finish line for a win.

I

ICellState - Interface in gvprojects.igel.model
Interface describing the state of a single cell on an Igel Argern game board.
IGameState - Interface in gvprojects.igel.model
Interface describing the state of an IgelArgernFullPresenter game
IgelGameKurmas - Class in gvprojects.igel.model
Game engine for Igel Argern
IgelGameKurmas(IgelGameParameters) - Constructor for class gvprojects.igel.model.IgelGameKurmas
Constructor
IgelGameKurmas(IgelGameParameters, InputStream) - Constructor for class gvprojects.igel.model.IgelGameKurmas
Constructor allowing configuration from a file (or other stream source).
IgelGameParameters - Class in gvprojects.igel.model
Describes the basic configuration of a basic game.
IgelGameParameters() - Constructor for class gvprojects.igel.model.IgelGameParameters
Default constructor.
IgelGameParameters(int, int, int, int, int, String) - Constructor for class gvprojects.igel.model.IgelGameParameters
Constructor
IIgelGame - Interface in gvprojects.igel.model
A game of Igel Argern
IIgelGame.GameEventListener - Interface in gvprojects.igel.model
Listens for game events
IllegalMoveException - Exception in gvprojects.igel.model
Thrown when an illegal move is attempted.
IllegalMoveException(String) - Constructor for exception gvprojects.igel.model.IllegalMoveException
 

M

messageChanged(String) - Method in interface gvprojects.igel.model.IIgelGame.GameEventListener
Called when message changes
moveHedgehog(int, int, int) - Method in class gvprojects.igel.model.IgelGameKurmas
 
moveHedgehog(int, int, int) - Method in interface gvprojects.igel.model.IIgelGame
Move the top hedgehog at [fromRow, fromColumn] to column toColumn.

N

noForwardMove(int) - Method in interface gvprojects.igel.model.IIgelGame.GameEventListener
Report that there are no tokens to move in row
numColumns() - Method in interface gvprojects.igel.model.IGameState
return the number of columns on the board.
numColumns() - Method in class gvprojects.igel.model.IgelGameKurmas
 
numColumns - Variable in class gvprojects.igel.model.IgelGameParameters
Number of columns on the board.
numPlayers() - Method in interface gvprojects.igel.model.IGameState
Return the number of players.
numPlayers() - Method in class gvprojects.igel.model.IgelGameKurmas
 
numPlayers - Variable in class gvprojects.igel.model.IgelGameParameters
Number of players
numRows() - Method in interface gvprojects.igel.model.IGameState
return the number of rows on the board.
numRows() - Method in class gvprojects.igel.model.IgelGameKurmas
 
numRows - Variable in class gvprojects.igel.model.IgelGameParameters
Number of rows on the board.

O

obstacleType - Variable in class gvprojects.igel.model.IgelGameParameters
A String specifying which type of obstacle should be used for this game.

P

passSidewaysMove() - Method in class gvprojects.igel.model.IgelGameKurmas
 
passSidewaysMove() - Method in interface gvprojects.igel.model.IIgelGame
Pass the current user's sideways move.
phase() - Method in interface gvprojects.igel.model.IGameState
Return the current game phase.
phase() - Method in class gvprojects.igel.model.IgelGameKurmas
 
Phase - Enum in gvprojects.igel.model
Different phases of a game of Igel Argern
phaseChanged(Phase) - Method in interface gvprojects.igel.model.IIgelGame.GameEventListener
Reports a phase change
placeHedgehog(int) - Method in class gvprojects.igel.model.IgelGameKurmas
 
placeHedgehog(int) - Method in interface gvprojects.igel.model.IIgelGame
Make an initial placement of one of the current player's hedgehogs in row and increment the current player.
playerAtDepth(int) - Method in interface gvprojects.igel.model.ICellState
return the number of the player at the given depth

Q

quickLayout() - Method in class gvprojects.igel.model.IgelGameKurmas
Make an initial placement of all hedgehogs in round-robin order.

R

roll(int) - Method in interface gvprojects.igel.model.IIgelGame.GameEventListener
Reports a die roll

S

setNextRolls(Integer) - Method in class gvprojects.igel.model.IgelGameKurmas
Set the value of the die rolls.
setNextRolls(Integer) - Method in interface gvprojects.igel.model.IIgelGame
Set the value of the die rolls.
size() - Method in interface gvprojects.igel.model.ICellState
return the number of hedgehogs in this cell.
slideHedgehog(int, int, int) - Method in class gvprojects.igel.model.IgelGameKurmas
Slide the hedgehog at the top of the specified cell to the specified row.
slideHedgehog(int, int, int) - Method in interface gvprojects.igel.model.IIgelGame
Move the current player's hedgehog from row fromRow to toRow

T

type() - Method in interface gvprojects.igel.model.ICellState
The type of this cell.

V

valueOf(String) - Static method in enum gvprojects.igel.model.Phase
Returns the enum constant of this type with the specified name.
values() - Static method in enum gvprojects.igel.model.Phase
Returns an array containing the constants of this enum type, in the order they are declared.

A C D G H I M N O P Q R S T V