All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class scrobble.ClientScrobble

java.lang.Object
   |
   +----game.ClientGame
           |
           +----scrobble.ClientScrobble

public class ClientScrobble
extends ClientGame
implements GameLinkListener, ScrobbleConstants
ClientScrobble.java Is independant of Scrabble. Its aim is to draw the Scrabble, a specific game. It's the daugther of ClientGame.


Variable Index

 o bag
Bag used by Scrobble
 o board
Board used by Scrobble
 o gamePanel
 o language
Language used by Scrobble

Constructor Index

 o ClientScrobble()
Creates a new ClientScrobble

Method Index

 o createPlayer(int, Object)
 o doPromptConfig(LinkFrame)
Upon reception of a configuration request, prompt user for game configuration.
 o frameReceived(Object, LinkFrame)
 o make(GameLinkFilter, int)

Variables

 o board
 ClientBoard board
Board used by Scrobble

 o bag
 ClientBag bag
Bag used by Scrobble

 o language
 ClientLanguage language
Language used by Scrobble

 o gamePanel
 Container gamePanel

Constructors

 o ClientScrobble
 public ClientScrobble()
Creates a new ClientScrobble

Methods

 o make
 public void make(GameLinkFilter link,
                  int myPlayerId)
Overrides:
make in class ClientGame
 o createPlayer
 public Player createPlayer(int id,
                            Object frameData)
Overrides:
createPlayer in class ClientGame
 o frameReceived
 public void frameReceived(Object link,
                           LinkFrame frame)
Overrides:
frameReceived in class ClientGame
 o doPromptConfig
 public void doPromptConfig(LinkFrame frame)
Upon reception of a configuration request, prompt user for game configuration.

Parameters:
frame - the frame containing the configuration request and data.

All Packages  Class Hierarchy  This Package  Previous  Next  Index