ipdlx.examples
Class GameResultExample
java.lang.Object
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HR
public static final java.lang.String HR
- See Also:
- Constant Field Values
GameResultExample
public GameResultExample()
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()