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