com.webstersmalley.chessweb.model
Class Team

java.lang.Object
  extended by com.webstersmalley.chessweb.model.Team

public final class Team
extends java.lang.Object

Which team (black, white) the piece is on.


Field Summary
static Team BLACK
          Black team.
static Team WHITE
          White team.
 
Method Summary
 int getPawnIncrement()
           
 int getPawnStartingRank()
           
 java.lang.String toString()
          Returns the name of the team.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WHITE

public static final Team WHITE
White team.


BLACK

public static final Team BLACK
Black team.

Method Detail

toString

public java.lang.String toString()
Returns the name of the team.

Overrides:
toString in class java.lang.Object
Returns:
the team name.

getPawnIncrement

public int getPawnIncrement()
Returns:
Returns the pawnIncrement.

getPawnStartingRank

public int getPawnStartingRank()
Returns:
Returns the pawnStartPosition


Copyright © 2005 Webster Smalley. All Rights Reserved.