org.vizzini.game.boardgame
Interface IBoardGameToken

All Superinterfaces:
Cloneable, IToken, Serializable
All Known Subinterfaces:
IBishop, IChessToken, IKing, IKnight, IMace, IPawn, IQueen, IRook
All Known Implementing Classes:
AbstractChessToken, Bishop, DefaultBoardGameToken, King, Knight, Mace, Pawn, Queen, Rook

public interface IBoardGameToken
extends IToken

Defines methods required by board game tokens in the game framework.

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

Field Summary
 
Fields inherited from interface org.vizzini.game.IToken
AGENT_PROPERTY, NAME_PROPERTY, POSITION_PROPERTY, TEAM_PROPERTY
 
Method Summary
 List getPossibleActions(IAgent agent, IEnvironment environment, IAdjudicator adjudicator)
          Return a list of possible legal actions.
 
Methods inherited from interface org.vizzini.game.IToken
addPropertyChangeListener, clone, configure, getAgent, getIndex, getName, getPosition, getTeam, getValue, removePropertyChangeListener, setAgent, setName, setPosition, setTeam, setValue
 

Method Detail

getPossibleActions

List getPossibleActions(IAgent agent,
                        IEnvironment environment,
                        IAdjudicator adjudicator)
Return a list of possible legal actions.

Parameters:
agent - The agent.
environment - The current environment.
adjudicator - Adjudicator for determining legal actions.
Since:
v0.1


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02