de.hagenah.diplomacy.game
Interface GameHandler

All Known Implementing Classes:
DipGameGroup, GameGroup

public interface GameHandler

This interface has to be implemented to use the JudgeParser. It manages the games. A default implementation is provided by GameGroup.


Method Summary
 Game createGame(java.lang.String name, java.lang.String judge, java.lang.String map)
          Retrieves the specified game.
 

Method Detail

createGame

Game createGame(java.lang.String name,
                java.lang.String judge,
                java.lang.String map)
                throws java.lang.Exception
Retrieves the specified game. If it does not exist it is created.

Parameters:
name - The name of the game
judge - The name of the judge
map - The name of the map (can be null)
Returns:
The game
Throws:
java.lang.Exception