fourwin
Class FourPlayer

java.lang.Object
  extended by fourwin.FourPlayer
Direct Known Subclasses:
AskDialogPlayer, FourHuman, fourMiniMax, NewMiniMax

abstract class FourPlayer
extends Object

This is the superclass for all players of 4RowBot. It defines variables and methods which have to be implemented by all players.

Version:
V1.0 01.12.2009
Author:
Sebastian

Field Summary
protected  Color color
           
protected  byte colorValue
           
protected  byte opponentID
           
protected  byte playerID
           
 
Constructor Summary
FourPlayer()
           
 
Method Summary
protected  Color getColor()
           
abstract  PlayingField move(PlayingField board)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

protected Color color

colorValue

protected byte colorValue

playerID

protected byte playerID

opponentID

protected byte opponentID
Constructor Detail

FourPlayer

FourPlayer()
Method Detail

getColor

protected Color getColor()

move

public abstract PlayingField move(PlayingField board)