org.vizzini.game.boardgame.chess
Interface IChessAgent

All Superinterfaces:
IAgent, Serializable
All Known Implementing Classes:
AbstractChessComputerAgent, MouseAgent, SearchChessAgent, SimpleChessAgent, TextAgent

public interface IChessAgent
extends IAgent

Defines methods required by chess agents in the 3D chess framework.

Since:
v0.3
Version:
v0.3
Author:
Jeffrey M. Thompson

Field Summary
 
Fields inherited from interface org.vizzini.game.IAgent
NAME_PROPERTY, TEAM_PROPERTY
 
Method Summary
 Class getPawnPromotionType()
          Return the pawn promotion type.
 boolean isPawnPrompt()
          Return true if this agent should prompt for the pawn promotion type.
 boolean isWhite()
          Return true if this agent's team is white.
 void setPawnPrompt(boolean isPawnPrompt)
          Set the flag indicating whether to prompt for the pawn promotion type.
 
Methods inherited from interface org.vizzini.game.IAgent
addConcedeListener, addPropertyChangeListener, addScoreListener, addToScore, concede, configure, getAction, getName, getScore, getTeam, getTokenCollection, incrementScore, removeConcedeListener, removePropertyChangeListener, removeScoreListener, reset, setName, setScore, setTeam
 

Method Detail

getPawnPromotionType

Class getPawnPromotionType()
Return the pawn promotion type.

Since:
v0.3

isPawnPrompt

boolean isPawnPrompt()
Return true if this agent should prompt for the pawn promotion type.

Since:
v0.3

isWhite

boolean isWhite()
Return true if this agent's team is white.

Since:
v0.3

setPawnPrompt

void setPawnPrompt(boolean isPawnPrompt)
Set the flag indicating whether to prompt for the pawn promotion type.

Since:
v0.3


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02