cz.cuni.amis.pogamut.unreal.bot.impl
Class NativeUnrealBotAdapter
java.lang.Object
cz.cuni.amis.pogamut.unreal.bot.impl.NativeUnrealBotAdapter
- All Implemented Interfaces:
- IAgent, IEmbodiedAgent, IObservingAgent, IComponent, IComponentAware, IControllable, IAgent3D, ILocated, ILocomotive, IRotable, IUnrealBot
public abstract class NativeUnrealBotAdapter
- extends Object
- implements IUnrealBot
IUnrealAgent adapter for native players. Not all operations are supported.
- Author:
- ik
| Methods inherited from interface cz.cuni.amis.pogamut.base.agent.IAgent |
stop |
player
protected IPlayer player
server
protected IUnrealServer server
act
protected IAct act
worldView
protected IWorldView worldView
NativeUnrealBotAdapter
public NativeUnrealBotAdapter(IPlayer player,
IUnrealServer server,
IAct act,
IWorldView worldView)
getAct
public IAct getAct()
- Specified by:
getAct in interface IEmbodiedAgent
getWorldView
public IWorldView getWorldView()
- Specified by:
getWorldView in interface IObservingAgent
getComponentId
public IAgentId getComponentId()
- Specified by:
getComponentId in interface IAgent- Specified by:
getComponentId in interface IComponent
getName
public String getName()
- Specified by:
getName in interface IAgent
getLogger
public IAgentLogger getLogger()
- Specified by:
getLogger in interface IAgent
getEventBus
public IComponentBus getEventBus()
- Specified by:
getEventBus in interface IComponentAware
getState
public cz.cuni.amis.utils.flag.ImmutableFlag<IAgentState> getState()
- Specified by:
getState in interface IAgent
start
public void start()
throws AgentException
- Specified by:
start in interface IAgent- Specified by:
start in interface IControllable
- Throws:
AgentException
startPaused
public void startPaused()
throws AgentException
- Specified by:
startPaused in interface IAgent
- Throws:
AgentException
pause
public void pause()
throws AgentException
- Specified by:
pause in interface IAgent
- Throws:
AgentException
resume
public void resume()
throws AgentException
- Specified by:
resume in interface IAgent
- Throws:
AgentException
kill
public void kill()
- Specified by:
kill in interface IAgent- Specified by:
kill in interface IControllable
getIntrospection
public cz.cuni.amis.introspection.Folder getIntrospection()
- Specified by:
getIntrospection in interface IAgent
getLocation
public Location getLocation()
- Specified by:
getLocation in interface ILocated
getVelocity
public Velocity getVelocity()
- Specified by:
getVelocity in interface ILocomotive
getRotation
public Rotation getRotation()
- Specified by:
getRotation in interface IRotable
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.