|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.bluebones.boggle.Game
public class Game
Represents a local instance of a game of Boggle. To be run in a separate thread.
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 |
---|
public Game(Player player, char[][] letters, int timeInSecs)
player
- Player playing this game.letters
- Letters to put on the board in this game.timeInSecs
- Duration of the game in seconds.Method Detail |
---|
public void run()
run
in interface Runnable
public void kill()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |