ipdlx.examples
Class TournamentExample

java.lang.Object
  extended by ipdlx.examples.TournamentExample
All Implemented Interfaces:
GameListener, TournamentListener, java.util.EventListener

public class TournamentExample
extends java.lang.Object
implements TournamentListener, GameListener

Author:
Jan Humble

Constructor Summary
TournamentExample()
           
 
Method Summary
 void createPlayers()
           
 void createTournament()
           
 void doTheTest()
           
 void gameResultPosted(GameResult result)
           
 void gameRoundResultPosted(GameRoundResult result)
           
 void gameStarted(Game game)
           
static void main(java.lang.String[] args)
           
 void tournamentResultPosted(TournamentResult result)
           
 void tournamentStarted(Tournament t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TournamentExample

public TournamentExample()
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args - ignored.

gameResultPosted

public void gameResultPosted(GameResult result)
Specified by:
gameResultPosted in interface GameListener

gameRoundResultPosted

public void gameRoundResultPosted(GameRoundResult result)
Specified by:
gameRoundResultPosted in interface GameListener

gameStarted

public void gameStarted(Game game)
Specified by:
gameStarted in interface GameListener

tournamentResultPosted

public void tournamentResultPosted(TournamentResult result)
Specified by:
tournamentResultPosted in interface TournamentListener

tournamentStarted

public void tournamentStarted(Tournament t)
Specified by:
tournamentStarted in interface TournamentListener

createPlayers

public void createPlayers()

createTournament

public void createTournament()

doTheTest

public void doTheTest()