cz.cuni.amis.pogamut.usar2004.agent.module.nfo
Class NfoBeginMapInfo

Package class diagram package NfoBeginMapInfo
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
      extended by cz.cuni.amis.pogamut.base.agent.module.SensorModule<USAR2004Bot>
          extended by cz.cuni.amis.pogamut.usar2004.agent.module.nfo.SuperNfo
              extended by cz.cuni.amis.pogamut.usar2004.agent.module.nfo.NfoBeginMapInfo
All Implemented Interfaces:
cz.cuni.amis.pogamut.base.component.IComponent

public class NfoBeginMapInfo
extends SuperNfo

Nfo message representative for Begin info of current level.

Author:
vejmanm

Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.usar2004.agent.module.nfo.SuperNfo
lastMessage, nfoListener
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.SensorModule
worldView
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
agent, controller, eventBus, log
 
Constructor Summary
NfoBeginMapInfo(USAR2004Bot bot)
          Ctor.
 
Method Summary
 String getGameType()
          Initial NFO message recieved from the server will provide information such as Game Type.
 String getLevel()
          Initial NFO message recieved from the server will provide information such as Level Name.
 double getTimeLimit()
          Initial NFO message recieved from the server will provide information such as Time Limit.
 
Methods inherited from class cz.cuni.amis.pogamut.usar2004.agent.module.nfo.SuperNfo
cleanUp, isReady
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
getComponentId, getLog, getState, initComponentId, isRunning, kill, pause, reset, resume, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NfoBeginMapInfo

public NfoBeginMapInfo(USAR2004Bot bot)
Ctor. Nfo type describes particular subject about which we want to know about. It is used to distinguish incoming message from the server.

Parameters:
bot - USAR2004Bot variable for filling base class.
Method Detail

getTimeLimit

public double getTimeLimit()
Initial NFO message recieved from the server will provide information such as Time Limit.

Returns:
Returns the time limit for current map.

getLevel

public String getLevel()
Initial NFO message recieved from the server will provide information such as Level Name.

Returns:
Returns name of current map.

getGameType

public String getGameType()
Initial NFO message recieved from the server will provide information such as Game Type.

Returns:
Returns a Unreal type of current game.


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.