ipdlx.examples
Class GameResultExample

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

public class GameResultExample
extends java.lang.Object
implements GameListener

This example shows how to create a game, how to play it, and how to get information about the result

Author:
Tomek Kaczanowski

Field Summary
static java.lang.String HR
           
 
Constructor Summary
GameResultExample()
           
 
Method Summary
 void doTheTest()
           
 void gameResultPosted(GameResult result)
           
 void gameRoundResultPosted(GameRoundResult result)
           
 void gameStarted(Game game)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HR

public static final java.lang.String HR
See Also:
Constant Field Values
Constructor Detail

GameResultExample

public GameResultExample()
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

doTheTest

public void doTheTest()