net.bluebones.boggle
Class Game

java.lang.Object
  extended by net.bluebones.boggle.Game
All Implemented Interfaces:
Runnable

public class Game
extends Object
implements Runnable

Represents a local instance of a game of Boggle. To be run in a separate thread.

Version:
0.3 $Revision: 1.3 $
Author:
Thomas David Baker

Constructor Summary
Game(Player player, char[][] letters, int timeInSecs)
          Initialises a game.
 
Method Summary
 void kill()
          Stops this game.
 void run()
          Initialises this game and then runs it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Game

public Game(Player player,
            char[][] letters,
            int timeInSecs)
Initialises a game.

Parameters:
player - Player playing this game.
letters - Letters to put on the board in this game.
timeInSecs - Duration of the game in seconds.
Method Detail

run

public void run()
Initialises this game and then runs it.

Specified by:
run in interface Runnable

kill

public void kill()
Stops this game.