|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.InfoMessage cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessage
public abstract class InitedMessage
Abstract definition 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.
Nested Class Summary | |
---|---|
static class |
InitedMessage.InitedMessageUpdate
|
Field Summary | |
---|---|
static UnrealId |
InitedMessageId
|
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected long |
SimTime
|
Constructor Summary | |
---|---|
InitedMessage()
Parameter-less contructor for the message. |
Method Summary | |
---|---|
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. |
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()
Returns an id of the object that is unique among all world objects. |
abstract double |
getJumpZ()
Bot Jump's Z boost. |
abstract double |
getLadderSpeed()
Ladderspeed of the bot (on the ladder). |
abstract double |
getMaxFallSpeed()
Max fall speed of the bot. |
abstract int |
getMaxMultiJump()
Maximum amount of succesing jumps. |
abstract double |
getMultiJumpBoost()
Not used in GB. |
abstract int |
getShieldStrengthMax()
Maximum strength of the bot armor (usually 150). |
abstract int |
getShieldStrengthStart()
Starting strength of the bot armor (usually 0). |
long |
getSimTime()
Returns the simulation time when the event has occurred. |
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. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface cz.cuni.amis.pogamut.multi.communication.worldview.object.ICompositeWorldObject |
---|
getLocal, getShared, getStatic |
Field Detail |
---|
public static final java.lang.String PROTOTYPE
public static final UnrealId InitedMessageId
protected long SimTime
Constructor Detail |
---|
public InitedMessage()
Method Detail |
---|
public UnrealId getId()
IWorldObject
getId
in interface IWorldObject
public long getSimTime()
IWorldEvent
getSimTime
in interface IWorldChangeEvent
getSimTime
in interface IWorldEvent
getSimTime
in interface IWorldObject
protected void setSimTime(long SimTime)
public abstract UnrealId getBotId()
public abstract int getHealthStart()
public abstract int getHealthFull()
public abstract int getHealthMax()
public abstract double getAdrenalineStart()
public abstract double getAdrenalineMax()
public abstract int getShieldStrengthStart()
public abstract int getShieldStrengthMax()
public abstract int getMaxMultiJump()
public abstract double getDamageScaling()
public abstract double getGroundSpeed()
public abstract double getWaterSpeed()
public abstract double getAirSpeed()
public abstract double getLadderSpeed()
public abstract double getAccelRate()
public abstract double getJumpZ()
public abstract double getMultiJumpBoost()
public abstract double getMaxFallSpeed()
public abstract double getDodgeSpeedFactor()
public abstract double getDodgeSpeedZ()
public abstract double getAirControl()
public java.lang.String toString()
toString
in class InfoMessage
public java.lang.String toHtmlString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |