be.madoka.aardbei.sokoban
Interface Visualisation

All Known Implementing Classes:
SokoGui

public interface Visualisation

Represents a visual representation for some Logic.

Author:
Tim Van Wassenhove

Method Summary
 void gameCompleted(boolean succes)
          The Game has been completed wheter or not succesfull.
 void levelCompleted(boolean succes)
          The Level has been completed whether or not succesfull.
 void updateDimension(DimensionChangeEvent e)
          Updates the Dimension.
 void updateLevel(LevelChangeEvent e)
          Updates the level.
 void updatePosition(PositionChangeEvent e)
          Updates a Position.
 void updateScore(ScoreChangeEvent e)
          Updates the score.
 

Method Detail

updateDimension

public void updateDimension(DimensionChangeEvent e)
Updates the Dimension.

Parameters:
e - the DimensionChangeEvent

updatePosition

public void updatePosition(PositionChangeEvent e)
Updates a Position.

Parameters:
e - the PositionChangeEvent

updateLevel

public void updateLevel(LevelChangeEvent e)
Updates the level.

Parameters:
e - the LevelChangeEvent

updateScore

public void updateScore(ScoreChangeEvent e)
Updates the score.

Parameters:
e - the ScoreChangeEvent

levelCompleted

public void levelCompleted(boolean succes)
The Level has been completed whether or not succesfull.

Parameters:
succes - the succes

gameCompleted

public void gameCompleted(boolean succes)
The Game has been completed wheter or not succesfull.

Parameters:
succes - the succes