|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IChessAgent
Defines methods required by chess agents in the 3D chess framework.
| 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 |
|---|
Class getPawnPromotionType()
boolean isPawnPrompt()
boolean isWhite()
void setPawnPrompt(boolean isPawnPrompt)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |