Class java.rmi.examples.remoteControl.PlayerPack
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.rmi.examples.remoteControl.PlayerPack

java.lang.Object
   |
   +----java.rmi.examples.remoteControl.PlayerPack

public class PlayerPack
extends Object
Used to communicate the things a new player needs to enter the game

Variable Index

 o channel
The channel to use to send moves
 o firstTurnTime
The time allowed for the first turn
 o game
The game actually inserted into
 o playerNum
The player's assigned number

Constructor Index

 o PlayerPack(int, MoveChannel, Game, long)

Method Index

 o toString()
Returns a String that represents the value of this Object.

Variables

 o playerNum
  public int playerNum
The player's assigned number
 o channel
  public MoveChannel channel
The channel to use to send moves
 o game
  public Game game
The game actually inserted into
 o firstTurnTime
  public long firstTurnTime
The time allowed for the first turn

Constructors

 o PlayerPack
  public PlayerPack(int num,
                    MoveChannel chan,
                    Game g,
                    long firstTurnTime)

Methods

 o toString
  public String toString()
Returns a String that represents the value of this Object.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index