mahjong
Class Player

java.lang.Object
  extended by mahjong.Player

public class Player
extends java.lang.Object

A class to represent the game player. This class contains the main control flow for receiving player actions and dispatching them into the game.


Constructor Summary
Player(Viewer v1, Board b1)
          Generic constructor.
 
Method Summary
 void play()
          Main player control flow.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Player

public Player(Viewer v1,
              Board b1)
Generic constructor.

Parameters:
v1 - The viewer.
b1 - The board.
Method Detail

play

public void play()
Main player control flow.