BOT - PARAMS - public class UT2004BotFactory<BOT extends IUT2004Bot,PARAMS extends UT2004BotParameters> extends GuiceAgentFactory<BOT,PARAMS>
IUT2004Bot factory. It needs UT2004BotModule to work correctly and the module is required
to bound IAgent to the IUT2004Bot, otherwise the method UT2004BotFactory#newAgent(IRemoteAgentParameters)
will throw ClassCastException.
For more info about the factory, see GuiceAgentFactory.
| Constructor and Description |
|---|
UT2004BotFactory(UT2004BotModule<PARAMS> agentModule) |
| Modifier and Type | Method and Description |
|---|---|
protected UT2004BotModule<PARAMS> |
getAgentModule() |
configureModule, newAgentgetInjector, setAgentModulepublic UT2004BotFactory(UT2004BotModule<PARAMS> agentModule)
protected UT2004BotModule<PARAMS> getAgentModule()
getAgentModule in class AbstractGuiceAgentFactoryCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.