org.vizzini.game.boardgame.action
Class PlaceActionGenerator
java.lang.Object
org.vizzini.game.action.AbstractActionGenerator
org.vizzini.game.boardgame.action.PlaceActionGenerator
- All Implemented Interfaces:
- IActionGenerator
public class PlaceActionGenerator
- extends AbstractActionGenerator
Provides an action generator for place actions.
- Since:
- v0.2
- Version:
- v0.3
- Author:
- Jeffrey M. Thompson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlaceActionGenerator
public PlaceActionGenerator()
generate
public Collection generate(IAgent agent,
IEnvironment environment,
IAdjudicator adjudicator)
- Generate the collection of legal actions using the given parameters.
- Parameters:
agent
- Agent originating the actions.environment
- Environment.adjudicator
- Adjudicator.- Since:
- v0.2
getTokenClass
public Class getTokenClass()
- Return the class of new token's to place.
- Since:
- v0.2
setTokenClass
public void setTokenClass(Class tokenClass)
- Set the class of new tokens to place.
- Since:
- v0.2
Copyright © 2007 Vizzini.org. All Rights Reserved.
|
2007.12.25.03.00.02 |