cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class InitedMessageLocal

Package class diagram package InitedMessageLocal
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessageLocal
All Implemented Interfaces:
IWorldObject, ILocalWorldObject, Cloneable
Direct Known Subclasses:
InitedMessageLocalImpl, InitedMessageMessage.InitedMessageLocalMessage

public abstract class InitedMessageLocal
extends InfoMessage
implements ILocalWorldObject

Abstract definition of the local part of the GameBots2004 message INITED.

Complete message documentation: Asynchronous message. Sent after succesfull init command (so usually just once). Holds many attributes of the bots like speed, id starting and max health, etc. Some attributes are not used due to GameBots mechanics.


Field Summary
static UnrealId InitedMessageId
           
protected  long SimTime
           
 
Constructor Summary
InitedMessageLocal()
          Parameter-less contructor for the message.
 
Method Summary
abstract  InitedMessageLocal clone()
           
abstract  double getAccelRate()
          Accelartion rate of this bot.
abstract  double getAdrenalineMax()
          Maxium amount of the adrenaline.
abstract  double getAdrenalineStart()
          Amount of adrenaline at the start.
abstract  double getAirControl()
          How well can be the bot controlled in the air (ranges from 0 to 1).
abstract  double getAirSpeed()
          AirSpeed of the bot (in the air).
abstract  UnrealId getBotId()
          A unique unreal Id of the new bot.
 Class getCompositeClass()
           
abstract  double getDamageScaling()
          Damage scaling for this bot.
abstract  double getDodgeSpeedFactor()
          Dodge speed factor.
abstract  double getDodgeSpeedZ()
          Dodge jump Z boost of the bot.
abstract  double getGroundSpeed()
          Groundspeed of the bot (on the ground).
abstract  int getHealthFull()
          Full health of the bot (usually 100).
abstract  int getHealthMax()
          Maximum health of the bot (default 199).
abstract  int getHealthStart()
          Bot will always start with this health amount (usually 100).
 UnrealId getId()
           
abstract  double getJumpZ()
          Bot Jump's Z boost.
abstract  double getLadderSpeed()
          Ladderspeed of the bot (on the ladder).
 InitedMessageLocal getLocal()
           
abstract  double getMaxFallSpeed()
          Max fall speed of the bot.
abstract  int getMaxMultiJump()
          Maximum amount of succesing jumps.
abstract  double getMultiJumpBoost()
          Not used in GB.
 ISharedWorldObject getShared()
           
abstract  int getShieldStrengthMax()
          Maximum strength of the bot armor (usually 150).
abstract  int getShieldStrengthStart()
          Starting strength of the bot armor (usually 0).
 long getSimTime()
          Simulation time in MILLI SECONDS !!!
 IStaticWorldObject getStatic()
           
abstract  double getWaterSpeed()
          Waterspeed of the bot (in the water).
protected  void setSimTime(long SimTime)
          Used by Yylex to slip correct time of the object or programmatically.
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
toJsonLiteral
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

InitedMessageId

public static final UnrealId InitedMessageId

SimTime

protected long SimTime
Constructor Detail

InitedMessageLocal

public InitedMessageLocal()
Parameter-less contructor for the message.

Method Detail

getId

public UnrealId getId()
Specified by:
getId in interface IWorldObject

getSimTime

public long getSimTime()
Simulation time in MILLI SECONDS !!!

Specified by:
getSimTime in interface IWorldObject

setSimTime

protected void setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.


clone

public abstract InitedMessageLocal clone()
Specified by:
clone in interface ILocalWorldObject
Overrides:
clone in class Object

getCompositeClass

public Class getCompositeClass()
Specified by:
getCompositeClass in interface ILocalWorldObject

getBotId

public abstract UnrealId getBotId()
A unique unreal Id of the new bot.


getHealthStart

public abstract int getHealthStart()
Bot will always start with this health amount (usually 100).


getHealthFull

public abstract int getHealthFull()
Full health of the bot (usually 100).


getHealthMax

public abstract int getHealthMax()
Maximum health of the bot (default 199).


getAdrenalineStart

public abstract double getAdrenalineStart()
Amount of adrenaline at the start. Usually 0.


getAdrenalineMax

public abstract double getAdrenalineMax()
Maxium amount of the adrenaline. Usually 100 (this can trigger the combos).


getShieldStrengthStart

public abstract int getShieldStrengthStart()
Starting strength of the bot armor (usually 0).


getShieldStrengthMax

public abstract int getShieldStrengthMax()
Maximum strength of the bot armor (usually 150).


getMaxMultiJump

public abstract int getMaxMultiJump()
Maximum amount of succesing jumps. Currently limited to double jump in GB.


getDamageScaling

public abstract double getDamageScaling()
Damage scaling for this bot. (he will deal reduced damage depending on the setting).


getGroundSpeed

public abstract double getGroundSpeed()
Groundspeed of the bot (on the ground). Default 440.


getWaterSpeed

public abstract double getWaterSpeed()
Waterspeed of the bot (in the water).


getAirSpeed

public abstract double getAirSpeed()
AirSpeed of the bot (in the air).


getLadderSpeed

public abstract double getLadderSpeed()
Ladderspeed of the bot (on the ladder).


getAccelRate

public abstract double getAccelRate()
Accelartion rate of this bot. How fast he accelerates.


getJumpZ

public abstract double getJumpZ()
Bot Jump's Z boost.


getMultiJumpBoost

public abstract double getMultiJumpBoost()
Not used in GB.


getMaxFallSpeed

public abstract double getMaxFallSpeed()
Max fall speed of the bot.


getDodgeSpeedFactor

public abstract double getDodgeSpeedFactor()
Dodge speed factor.


getDodgeSpeedZ

public abstract double getDodgeSpeedZ()
Dodge jump Z boost of the bot.


getAirControl

public abstract double getAirControl()
How well can be the bot controlled in the air (ranges from 0 to 1).


getLocal

public InitedMessageLocal getLocal()

getShared

public ISharedWorldObject getShared()

getStatic

public IStaticWorldObject getStatic()

toString

public String toString()
Overrides:
toString in class InfoMessage

toHtmlString

public String toHtmlString()


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