|
|||||||||
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.InitedMessageLocal
public abstract class InitedMessageLocal
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. |
java.lang.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()
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). |
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()
Returns world time when the object was seen/updated for the last time. |
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. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final UnrealId InitedMessageId
protected long SimTime
Constructor Detail |
---|
public InitedMessageLocal()
Method Detail |
---|
public UnrealId getId()
IWorldObject
getId
in interface IWorldObject
public long getSimTime()
IWorldObject
The time suppose to be growing as the simulation carries on.
Always should be actual_timestamp >= any_prevously_recorded_timestamp,
object1.getLastSeenTime() > object2.getLastSeenTime() means that object1 last seen after object2
getSimTime
in interface IWorldObject
protected void setSimTime(long SimTime)
public abstract InitedMessageLocal clone()
clone
in interface ILocalWorldObject
clone
in class java.lang.Object
public java.lang.Class getCompositeClass()
getCompositeClass
in interface ILocalWorldObject
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 InitedMessageLocal getLocal()
public ISharedWorldObject getShared()
public IStaticWorldObject getStatic()
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 |