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