B C D G H I K L M N P R S T U W

B

before() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
before() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
before() - Method in class gdi.ws0809.test.SokobanTestExtended2
 
before() - Method in class gdi.ws0809.test.SokobanTestExtended2
 
before() - Method in class gdi.ws0809.test.SokobanTestExtended3
 
before() - Method in class gdi.ws0809.test.SokobanTestExtended3
 
before() - Method in class gdi.ws0809.test.SokobanTestMinimal
 
before() - Method in class gdi.ws0809.test.SokobanTestMinimal
 

C

canMoveCrate(int, int, char) - Method in interface gdi.ws0809.test.SokobanTest
Checks whether the crate at position (x, y) can be moved in direction c
canMoveCrate(int, int, char) - Method in interface gdi.ws0809.test.SokobanTest
Checks whether the crate at position (x, y) can be moved in direction c
canMoveCrate(int, int, char) - Method in class gdi.ws0809.test.SokobanTestAdapter
 
clearHighscoreList() - Method in interface gdi.ws0809.test.SokobanTest
Clears the highscore list.
clearHighscoreList() - Method in interface gdi.ws0809.test.SokobanTest
Clears the highscore list.
clearHighscoreList() - Method in class gdi.ws0809.test.SokobanTestAdapter
 
countSteps() - Method in class gdi.ws0809.test.SokobanTestExtended1
Requirement "countSteps"
countSteps() - Method in class gdi.ws0809.test.SokobanTestExtended1
Requirement "countSteps"
createHighscoreEntry(String, int, int, int) - Method in interface gdi.ws0809.test.SokobanTest
Creates a new entry in the highscore list if the given data describes a new highscore entry.
createHighscoreEntry(String, int, int, int) - Method in interface gdi.ws0809.test.SokobanTest
Creates a new entry in the highscore list if the given data describes a new highscore entry.
createHighscoreEntry(String, int, int, int) - Method in class gdi.ws0809.test.SokobanTestAdapter
 
currentLevelToString() - Method in interface gdi.ws0809.test.SokobanTest
Returns the String representation of the current level.
currentLevelToString() - Method in interface gdi.ws0809.test.SokobanTest
Returns the String representation of the current level.
currentLevelToString() - Method in class gdi.ws0809.test.SokobanTestAdapter
 

D

deadlock() - Method in class gdi.ws0809.test.SokobanTestExtended3
Requirement "deadlock"
deadlock() - Method in class gdi.ws0809.test.SokobanTestExtended3
Requirement "deadlock"
detectSolved() - Method in class gdi.ws0809.test.SokobanTestMinimal
Requirements "detectSolved"
detectSolved() - Method in class gdi.ws0809.test.SokobanTestMinimal
Requirements "detectSolved"
doNotPerformInvalidMoves() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
doNotPerformInvalidMoves() - Method in class gdi.ws0809.test.SokobanTestExtended1
 

G

GamePanel - Class in gdi1sokoban.template.ui
Class representing a basic Sokoban game field display that you can extend for your own solution by deriving from it.
GamePanel(GameWindow) - Constructor for class gdi1sokoban.template.ui.GamePanel
Creates a new instance of the GamePanel class
GameWindow - Class in gdi1sokoban.template.ui
Base class for the main game window.
GameWindow(String) - Constructor for class gdi1sokoban.template.ui.GameWindow
Creates a new instance of the GameWindow class
gdi.ws0809.test - package gdi.ws0809.test
 
gdi1sokoban.template.ui - package gdi1sokoban.template.ui
 
getBestPlayerName() - Method in interface gdi.ws0809.test.SokobanTest
Gets the name of the best player (the one with with the least moves) over all levels.
getBestPlayerName() - Method in interface gdi.ws0809.test.SokobanTest
Gets the name of the best player (the one with with the least moves) over all levels.
getBestPlayerName() - Method in class gdi.ws0809.test.SokobanTestAdapter
 
getCrateCount() - Method in interface gdi.ws0809.test.SokobanTest
Gets the total number of crates in the current levels
getCrateCount() - Method in interface gdi.ws0809.test.SokobanTest
Gets the total number of crates in the current levels
getCrateCount() - Method in class gdi.ws0809.test.SokobanTestAdapter
 
getGamePanel() - Method in class gdi1sokoban.template.ui.GameWindow
Returns the game panel used by this game window
getGoalCount() - Method in interface gdi.ws0809.test.SokobanTest
Gets the total number of goals in the current levels
getGoalCount() - Method in interface gdi.ws0809.test.SokobanTest
Gets the total number of goals in the current levels
getGoalCount() - Method in class gdi.ws0809.test.SokobanTestAdapter
 
getHighscoreCount() - Method in interface gdi.ws0809.test.SokobanTest
Gets the count of entries in the highscore list
getHighscoreCount() - Method in interface gdi.ws0809.test.SokobanTest
Gets the count of entries in the highscore list
getHighscoreCount() - Method in class gdi.ws0809.test.SokobanTestAdapter
 
getLevelHeight() - Method in interface gdi.ws0809.test.SokobanTest
Gets the current level's height
getLevelHeight() - Method in interface gdi.ws0809.test.SokobanTest
Gets the current level's height
getLevelHeight() - Method in class gdi.ws0809.test.SokobanTestAdapter
 
getLevelWidth() - Method in interface gdi.ws0809.test.SokobanTest
Gets the current level's width
getLevelWidth() - Method in interface gdi.ws0809.test.SokobanTest
Gets the current level's width
getLevelWidth() - Method in class gdi.ws0809.test.SokobanTestAdapter
 
getParameterName() - Method in exception gdi1sokoban.exceptions.ParameterOutOfRangeException
Gets the name of the parameter that has failed the validity check
getParentWindow() - Method in class gdi1sokoban.template.ui.GamePanel
Gets the parent window for this game field
getStepsInCurrentLevel() - Method in interface gdi.ws0809.test.SokobanTest
Return the steps performed in the current level, since the last restart of the level.
getStepsInCurrentLevel() - Method in interface gdi.ws0809.test.SokobanTest
Return the steps performed in the current level, since the last restart of the level.
getStepsInCurrentLevel() - Method in class gdi.ws0809.test.SokobanTestAdapter
 
getValue() - Method in exception gdi1sokoban.exceptions.ParameterOutOfRangeException
Gets the value that has caused the error
getWallCount() - Method in interface gdi.ws0809.test.SokobanTest
Gets the total number of walls in the current levels
getWallCount() - Method in interface gdi.ws0809.test.SokobanTest
Gets the total number of walls in the current levels
getWallCount() - Method in class gdi.ws0809.test.SokobanTestAdapter
 
getWorkerPositionX() - Method in interface gdi.ws0809.test.SokobanTest
Gets the Y coordinate of the worker's current position
getWorkerPositionX() - Method in interface gdi.ws0809.test.SokobanTest
Gets the Y coordinate of the worker's current position
getWorkerPositionX() - Method in class gdi.ws0809.test.SokobanTestAdapter
 
getWorkerPositionY() - Method in interface gdi.ws0809.test.SokobanTest
Gets the X coordinate of the worker's current position
getWorkerPositionY() - Method in interface gdi.ws0809.test.SokobanTest
Gets the X coordinate of the worker's current position
getWorkerPositionY() - Method in class gdi.ws0809.test.SokobanTestAdapter
 

H

highscoreClear() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
highscoreClear() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
highscoreDbCreate() - Method in class gdi.ws0809.test.SokobanTestExtended1
Requirement "highScoreDB"
highscoreDbCreate() - Method in class gdi.ws0809.test.SokobanTestExtended1
Requirement "highScoreDB"
highscoreDbRead() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
highscoreDbRead() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
highscoreDbWrite() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
highscoreDbWrite() - Method in class gdi.ws0809.test.SokobanTestExtended1
 

I

init() - Static method in class gdi.ws0809.test.SokobanTestAdapter
 
init() - Static method in class gdi.ws0809.test.SokobanTestExtended1
 
init() - Static method in class gdi.ws0809.test.SokobanTestExtended1
 
init() - Static method in class gdi.ws0809.test.SokobanTestExtended2
 
init() - Static method in class gdi.ws0809.test.SokobanTestExtended2
 
init() - Static method in class gdi.ws0809.test.SokobanTestExtended3
 
init() - Static method in class gdi.ws0809.test.SokobanTestExtended3
 
init() - Static method in class gdi.ws0809.test.SokobanTestMinimal
 
init() - Static method in class gdi.ws0809.test.SokobanTestMinimal
 
InternalFailureException - Exception in gdi1sokoban.exceptions
Exception that occurs in the case of internal errors.
InternalFailureException(Throwable) - Constructor for exception gdi1sokoban.exceptions.InternalFailureException
Creates a new instance of the InternalFailureException class based upon the reason for creation (treated as an inner exception).
InternalFailureException(String) - Constructor for exception gdi1sokoban.exceptions.InternalFailureException
Creates a new instance of the InternalFailureException class based upon a textual reason
InvalidOperationException - Exception in gdi1sokoban.exceptions
Exception that is thrown whenever a method's parameter falls out of the scope of allowed values
InvalidOperationException(String) - Constructor for exception gdi1sokoban.exceptions.InvalidOperationException
Creates a new instance of the InvalidOperationException class
isCrateAt(int, int) - Method in interface gdi.ws0809.test.SokobanTest
Gets whether there is a crate at the position identified by the specified X and Y coordinate
isCrateAt(int, int) - Method in interface gdi.ws0809.test.SokobanTest
Gets whether there is a crate at the position identified by the specified X and Y coordinate
isCrateAt(int, int) - Method in class gdi.ws0809.test.SokobanTestAdapter
 
isDeadlock() - Method in interface gdi.ws0809.test.SokobanTest
Returns whether the current level is in a deadlock position.
isDeadlock() - Method in interface gdi.ws0809.test.SokobanTest
Returns whether the current level is in a deadlock position.
isDeadlock() - Method in class gdi.ws0809.test.SokobanTestAdapter
 
isGoalAt(int, int) - Method in interface gdi.ws0809.test.SokobanTest
Gets whether there is a goal at the position identified by the specified X and Y coordinate
isGoalAt(int, int) - Method in interface gdi.ws0809.test.SokobanTest
Gets whether there is a goal at the position identified by the specified X and Y coordinate
isGoalAt(int, int) - Method in class gdi.ws0809.test.SokobanTestAdapter
 
isSolved() - Method in interface gdi.ws0809.test.SokobanTest
Returns whether the current level is solved.
isSolved() - Method in interface gdi.ws0809.test.SokobanTest
Returns whether the current level is solved.
isSolved() - Method in class gdi.ws0809.test.SokobanTestAdapter
 
isWallAt(int, int) - Method in interface gdi.ws0809.test.SokobanTest
Gets whether there is a wall at the position identified by the specified X and Y coordinate
isWallAt(int, int) - Method in interface gdi.ws0809.test.SokobanTest
Gets whether there is a wall at the position identified by the specified X and Y coordinate
isWallAt(int, int) - Method in class gdi.ws0809.test.SokobanTestAdapter
 

K

keyPressed(KeyEvent) - Method in class gdi1sokoban.template.ui.GameWindow
This method consumes a KeyEvent caused by the user pressing a key.
keyReleased(KeyEvent) - Method in class gdi1sokoban.template.ui.GameWindow
 
keyResetCheat() - Method in class gdi1sokoban.template.ui.GameWindow
 
keyTyped(KeyEvent) - Method in class gdi1sokoban.template.ui.GameWindow
 

L

loadGame(File) - Method in interface gdi.ws0809.test.SokobanTest
Save the current game state to the File.
loadGame(File) - Method in interface gdi.ws0809.test.SokobanTest
Save the current game state to the File.
loadGame(File) - Method in class gdi.ws0809.test.SokobanTestAdapter
 
loadGame() - Method in class gdi.ws0809.test.SokobanTestExtended2
 
loadGame() - Method in class gdi.ws0809.test.SokobanTestExtended2
 
loadLevel(File) - Method in interface gdi.ws0809.test.SokobanTest
Load a level and parse it into the internal representation.
loadLevel(File) - Method in interface gdi.ws0809.test.SokobanTest
Load a level and parse it into the internal representation.
loadLevel(File) - Method in class gdi.ws0809.test.SokobanTestAdapter
 
loadLevelFromDir() - Method in class gdi.ws0809.test.SokobanTestExtended1
Requirement "startNext"
loadLevelFromDir() - Method in class gdi.ws0809.test.SokobanTestExtended1
Requirement "startNext"

M

mouseClicked(MouseEvent) - Method in class gdi1sokoban.template.ui.GamePanel
This method handles the "mouse clicked" mouse event by converting the event into a call to entityClicked(int, int).
mouseEntered(MouseEvent) - Method in class gdi1sokoban.template.ui.GamePanel
 
mouseExited(MouseEvent) - Method in class gdi1sokoban.template.ui.GamePanel
 
mousePressed(MouseEvent) - Method in class gdi1sokoban.template.ui.GamePanel
 
mouseReleased(MouseEvent) - Method in class gdi1sokoban.template.ui.GamePanel
 
moveSequence() - Method in class gdi.ws0809.test.SokobanTestExtended2
 
moveSequence() - Method in class gdi.ws0809.test.SokobanTestExtended2
 
moveWorker(char) - Method in interface gdi.ws0809.test.SokobanTest
Move the worker according to the rules.
moveWorker(char) - Method in interface gdi.ws0809.test.SokobanTest
Move the worker according to the rules.
moveWorker(char) - Method in class gdi.ws0809.test.SokobanTestAdapter
 
moveWorker() - Method in class gdi.ws0809.test.SokobanTestExtended1
Requirement "moveWorker"
moveWorker() - Method in class gdi.ws0809.test.SokobanTestExtended1
Requirement "moveWorker"
moveWorkerSequence(String) - Method in interface gdi.ws0809.test.SokobanTest
Moves the worker with the steps specified in the move sequence string which needs to be in the RLUD format.
moveWorkerSequence(String) - Method in interface gdi.ws0809.test.SokobanTest
Moves the worker with the steps specified in the move sequence string which needs to be in the RLUD format.
moveWorkerSequence(String) - Method in class gdi.ws0809.test.SokobanTestAdapter
 

N

notifyLevelLoaded(int, int) - Method in class gdi1sokoban.template.ui.GameWindow
Notifies the game window that a new level has been loaded

P

ParameterOutOfRangeException - Exception in gdi1sokoban.exceptions
Exception that is thrown whenever a method's parameter falls out of the scope of allowed values
ParameterOutOfRangeException(String) - Constructor for exception gdi1sokoban.exceptions.ParameterOutOfRangeException
Creates a new instance of the ParameterOutOfRangeException class
ParameterOutOfRangeException(String, Object) - Constructor for exception gdi1sokoban.exceptions.ParameterOutOfRangeException
Creates a new instance of the ParameterOutOfRangeException class with the value that has caused the error
ParameterOutOfRangeException(String, Throwable) - Constructor for exception gdi1sokoban.exceptions.ParameterOutOfRangeException
Creates a new instance of the ParameterOutOfRangeException class with an inner exception for exception chaining
parseInvalidLevel() - Method in class gdi.ws0809.test.SokobanTestMinimal
 
parseInvalidLevel() - Method in class gdi.ws0809.test.SokobanTestMinimal
 
parseValidLevelFile() - Method in class gdi.ws0809.test.SokobanTestMinimal
Requirements "parseLevel", "toString" & "checkSyntax"
parseValidLevelFile() - Method in class gdi.ws0809.test.SokobanTestMinimal
Requirements "parseLevel", "toString" & "checkSyntax"

R

redo() - Method in class gdi.ws0809.test.SokobanTestExtended2
 
redo() - Method in class gdi.ws0809.test.SokobanTestExtended2
 
redoLastUndoneMove() - Method in interface gdi.ws0809.test.SokobanTest
Redo the last undone move.
redoLastUndoneMove() - Method in interface gdi.ws0809.test.SokobanTest
Redo the last undone move.
redoLastUndoneMove() - Method in class gdi.ws0809.test.SokobanTestAdapter
 
redraw() - Method in class gdi1sokoban.template.ui.GamePanel
Draws the game field once again and updates its graphical representation

S

saveGame(File) - Method in interface gdi.ws0809.test.SokobanTest
Save the current game state to the File.
saveGame(File) - Method in interface gdi.ws0809.test.SokobanTest
Save the current game state to the File.
saveGame(File) - Method in class gdi.ws0809.test.SokobanTestAdapter
 
saveGame() - Method in class gdi.ws0809.test.SokobanTestExtended2
Requirement "saveGame" & "loadGame"
saveGame() - Method in class gdi.ws0809.test.SokobanTestExtended2
Requirement "saveGame" & "loadGame"
setLevelDir(File) - Method in interface gdi.ws0809.test.SokobanTest
Load a set of levels from a directory.
setLevelDir(File) - Method in interface gdi.ws0809.test.SokobanTest
Load a set of levels from a directory.
setLevelDir(File) - Method in class gdi.ws0809.test.SokobanTestAdapter
 
setPlayerName(String) - Method in interface gdi.ws0809.test.SokobanTest
Set the player name used for highscores.
setPlayerName(String) - Method in interface gdi.ws0809.test.SokobanTest
Set the player name used for highscores.
setPlayerName(String) - Method in class gdi.ws0809.test.SokobanTestAdapter
 
SokobanTest - Interface in gdi.ws0809.test
All public unit tests access your implementation using methods of this interface exclusively.
SokobanTest - Interface in gdi.ws0809.test
All public unit tests access your implementation using methods of this interface exclusively.
SokobanTestAdapter - Class in gdi.ws0809.test
Provide an implementation for SokobanTest in this class.
SokobanTestAdapter() - Constructor for class gdi.ws0809.test.SokobanTestAdapter
 
SokobanTestExtended1 - Class in gdi.ws0809.test
Public tests for the 1st extended Sokoban implementation level
SokobanTestExtended1 - Class in gdi.ws0809.test
Public tests for the 1st extended Sokoban implementation level
SokobanTestExtended1() - Constructor for class gdi.ws0809.test.SokobanTestExtended1
 
SokobanTestExtended1() - Constructor for class gdi.ws0809.test.SokobanTestExtended1
 
SokobanTestExtended2 - Class in gdi.ws0809.test
Public tests for the 2nd extended Sokoban implementation level
SokobanTestExtended2 - Class in gdi.ws0809.test
Public tests for the 2nd extended Sokoban implementation level
SokobanTestExtended2() - Constructor for class gdi.ws0809.test.SokobanTestExtended2
 
SokobanTestExtended2() - Constructor for class gdi.ws0809.test.SokobanTestExtended2
 
SokobanTestExtended3 - Class in gdi.ws0809.test
Public tests for the 3rd extended Sokoban implementation level
SokobanTestExtended3 - Class in gdi.ws0809.test
Public tests for the 3rd extended Sokoban implementation level
SokobanTestExtended3() - Constructor for class gdi.ws0809.test.SokobanTestExtended3
 
SokobanTestExtended3() - Constructor for class gdi.ws0809.test.SokobanTestExtended3
 
SokobanTestMinimal - Class in gdi.ws0809.test
Public tests for the minimal Sokoban implementation level
SokobanTestMinimal - Class in gdi.ws0809.test
Public tests for the minimal Sokoban implementation level
SokobanTestMinimal() - Constructor for class gdi.ws0809.test.SokobanTestMinimal
 
SokobanTestMinimal() - Constructor for class gdi.ws0809.test.SokobanTestMinimal
 
solutionTime() - Method in class gdi.ws0809.test.SokobanTestExtended2
Requirement "highscoreTime"
solutionTime() - Method in class gdi.ws0809.test.SokobanTestExtended2
Requirement "highscoreTime"
startNextLevel() - Method in interface gdi.ws0809.test.SokobanTest
The next level in a set of levels loaded with loadLevelDir becomes the current level.
startNextLevel() - Method in interface gdi.ws0809.test.SokobanTest
The next level in a set of levels loaded with loadLevelDir becomes the current level.
startNextLevel() - Method in class gdi.ws0809.test.SokobanTestAdapter
 

T

testCanMoveCrate() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testCanMoveCrate() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testGetBestPlayerName() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testGetBestPlayerName() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testGetCrateCount() - Method in class gdi.ws0809.test.SokobanTestMinimal
 
testGetCrateCount() - Method in class gdi.ws0809.test.SokobanTestMinimal
 
testGetGoalCount() - Method in class gdi.ws0809.test.SokobanTestMinimal
 
testGetGoalCount() - Method in class gdi.ws0809.test.SokobanTestMinimal
 
testGetLevelHeight() - Method in class gdi.ws0809.test.SokobanTestMinimal
 
testGetLevelHeight() - Method in class gdi.ws0809.test.SokobanTestMinimal
 
testGetLevelWidth() - Method in class gdi.ws0809.test.SokobanTestMinimal
 
testGetLevelWidth() - Method in class gdi.ws0809.test.SokobanTestMinimal
 
testGetWallCount() - Method in class gdi.ws0809.test.SokobanTestMinimal
 
testGetWallCount() - Method in class gdi.ws0809.test.SokobanTestMinimal
 
testGetWorkerPositionX() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testGetWorkerPositionX() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testGetWorkerPositionY() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testGetWorkerPositionY() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testHighscoreCounts() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testHighscoreCounts() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testIsCrateAt() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testIsCrateAt() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testIsGoalAt() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testIsGoalAt() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testIsWallAt() - Method in class gdi.ws0809.test.SokobanTestExtended1
 
testIsWallAt() - Method in class gdi.ws0809.test.SokobanTestExtended1
 

U

undo() - Method in class gdi.ws0809.test.SokobanTestExtended2
Requirement "undo/redo"
undo() - Method in class gdi.ws0809.test.SokobanTestExtended2
Requirement "undo/redo"
undoFail() - Method in class gdi.ws0809.test.SokobanTestExtended2
 
undoFail() - Method in class gdi.ws0809.test.SokobanTestExtended2
 
undoLastMove() - Method in interface gdi.ws0809.test.SokobanTest
Undo the last move.
undoLastMove() - Method in interface gdi.ws0809.test.SokobanTest
Undo the last move.
undoLastMove() - Method in class gdi.ws0809.test.SokobanTestAdapter
 

W

writeHighScoreFile() - Method in interface gdi.ws0809.test.SokobanTest
Tells the Sokoban implementation to write the current highscores to disk, as detailed in the documentation.
writeHighScoreFile() - Method in interface gdi.ws0809.test.SokobanTest
Tells the Sokoban implementation to write the current highscores to disk, as detailed in the documentation.
writeHighScoreFile() - Method in class gdi.ws0809.test.SokobanTestAdapter
 

B C D G H I K L M N P R S T U W