dk.dist_chess.client.pgn
Class GameLoader

java.lang.Object
  extended bydk.dist_chess.client.pgn.GameLoader

public class GameLoader
extends java.lang.Object

This class follows a chess game, while it is loaded from a PGN file.


Constructor Summary
GameLoader()
          Create a new game loader instance.
 
Method Summary
 PlyNotation completePly(PGNPlyFragment plyFragment)
          Turn a loaded ply fragment from a PGN file into a notated ply.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameLoader

public GameLoader()
Create a new game loader instance.

Method Detail

completePly

public final PlyNotation completePly(PGNPlyFragment plyFragment)
Turn a loaded ply fragment from a PGN file into a notated ply.

Parameters:
plyFragment - The info from the PGN file.
Returns:
The notation for the ply, if we could recognize the ply, or null.