|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessageLocal
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessageLocalImpl
public class InitedMessageLocalImpl

Implementation 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.
| Nested Class Summary | |
|---|---|
static class |
InitedMessageLocalImpl.InitedMessageLocalUpdate
|
| Field Summary | |
|---|---|
protected double |
AccelRate
Accelartion rate of this bot. |
protected double |
AdrenalineMax
Maxium amount of the adrenaline. |
protected double |
AdrenalineStart
Amount of adrenaline at the start. |
protected double |
AirControl
How well can be the bot controlled in the air (ranges from 0 to 1). |
protected double |
AirSpeed
AirSpeed of the bot (in the air). |
protected UnrealId |
BotId
A unique unreal Id of the new bot. |
protected double |
DamageScaling
Damage scaling for this bot. |
protected double |
DodgeSpeedFactor
Dodge speed factor. |
protected double |
DodgeSpeedZ
Dodge jump Z boost of the bot. |
protected double |
GroundSpeed
Groundspeed of the bot (on the ground). |
protected int |
HealthFull
Full health of the bot (usually 100). |
protected int |
HealthMax
Maximum health of the bot (default 199). |
protected int |
HealthStart
Bot will always start with this health amount (usually 100). |
protected double |
JumpZ
Bot Jump's Z boost. |
protected double |
LadderSpeed
Ladderspeed of the bot (on the ladder). |
protected double |
MaxFallSpeed
Max fall speed of the bot. |
protected int |
MaxMultiJump
Maximum amount of succesing jumps. |
protected double |
MultiJumpBoost
Not used in GB. |
protected int |
ShieldStrengthMax
Maximum strength of the bot armor (usually 150). |
protected int |
ShieldStrengthStart
Starting strength of the bot armor (usually 0). |
protected double |
WaterSpeed
Waterspeed of the bot (in the water). |
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessageLocal |
|---|
InitedMessageId, SimTime |
| Constructor Summary | |
|---|---|
InitedMessageLocalImpl()
Parameter-less contructor for the message. |
|
InitedMessageLocalImpl(InitedMessage original)
Cloning constructor from the full message. |
|
InitedMessageLocalImpl(InitedMessageLocal original)
Cloning constructor from the message part. |
|
InitedMessageLocalImpl(InitedMessageLocalImpl original)
Cloning constructor from the full message. |
|
| Method Summary | |
|---|---|
InitedMessageLocalImpl |
clone()
|
double |
getAccelRate()
Accelartion rate of this bot. |
double |
getAdrenalineMax()
Maxium amount of the adrenaline. |
double |
getAdrenalineStart()
Amount of adrenaline at the start. |
double |
getAirControl()
How well can be the bot controlled in the air (ranges from 0 to 1). |
double |
getAirSpeed()
AirSpeed of the bot (in the air). |
UnrealId |
getBotId()
A unique unreal Id of the new bot. |
double |
getDamageScaling()
Damage scaling for this bot. |
double |
getDodgeSpeedFactor()
Dodge speed factor. |
double |
getDodgeSpeedZ()
Dodge jump Z boost of the bot. |
double |
getGroundSpeed()
Groundspeed of the bot (on the ground). |
int |
getHealthFull()
Full health of the bot (usually 100). |
int |
getHealthMax()
Maximum health of the bot (default 199). |
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. |
double |
getJumpZ()
Bot Jump's Z boost. |
double |
getLadderSpeed()
Ladderspeed of the bot (on the ladder). |
InitedMessageLocalImpl |
getLocal()
|
double |
getMaxFallSpeed()
Max fall speed of the bot. |
int |
getMaxMultiJump()
Maximum amount of succesing jumps. |
double |
getMultiJumpBoost()
Not used in GB. |
ISharedWorldObject |
getShared()
|
int |
getShieldStrengthMax()
Maximum strength of the bot armor (usually 150). |
int |
getShieldStrengthStart()
Starting strength of the bot armor (usually 0). |
IStaticWorldObject |
getStatic()
|
double |
getWaterSpeed()
Waterspeed of the bot (in the water). |
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 cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessageLocal |
|---|
getCompositeClass, getSimTime |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected UnrealId BotId
protected int HealthStart
protected int HealthFull
protected int HealthMax
protected double AdrenalineStart
protected double AdrenalineMax
protected int ShieldStrengthStart
protected int ShieldStrengthMax
protected int MaxMultiJump
protected double DamageScaling
protected double GroundSpeed
protected double WaterSpeed
protected double AirSpeed
protected double LadderSpeed
protected double AccelRate
protected double JumpZ
protected double MultiJumpBoost
protected double MaxFallSpeed
protected double DodgeSpeedFactor
protected double DodgeSpeedZ
protected double AirControl
| Constructor Detail |
|---|
public InitedMessageLocalImpl()
public InitedMessageLocalImpl(InitedMessage original)
original - public InitedMessageLocalImpl(InitedMessageLocalImpl original)
original - public InitedMessageLocalImpl(InitedMessageLocal original)
original - | Method Detail |
|---|
public UnrealId getId()
IWorldObject
getId in interface IWorldObjectgetId in class InitedMessageLocalpublic void setSimTime(long SimTime)
InitedMessageLocal
setSimTime in class InitedMessageLocalpublic InitedMessageLocalImpl clone()
clone in interface ILocalWorldObjectclone in class InitedMessageLocalpublic UnrealId getBotId()
getBotId in class InitedMessageLocalpublic int getHealthStart()
getHealthStart in class InitedMessageLocalpublic int getHealthFull()
getHealthFull in class InitedMessageLocalpublic int getHealthMax()
getHealthMax in class InitedMessageLocalpublic double getAdrenalineStart()
getAdrenalineStart in class InitedMessageLocalpublic double getAdrenalineMax()
getAdrenalineMax in class InitedMessageLocalpublic int getShieldStrengthStart()
getShieldStrengthStart in class InitedMessageLocalpublic int getShieldStrengthMax()
getShieldStrengthMax in class InitedMessageLocalpublic int getMaxMultiJump()
getMaxMultiJump in class InitedMessageLocalpublic double getDamageScaling()
getDamageScaling in class InitedMessageLocalpublic double getGroundSpeed()
getGroundSpeed in class InitedMessageLocalpublic double getWaterSpeed()
getWaterSpeed in class InitedMessageLocalpublic double getAirSpeed()
getAirSpeed in class InitedMessageLocalpublic double getLadderSpeed()
getLadderSpeed in class InitedMessageLocalpublic double getAccelRate()
getAccelRate in class InitedMessageLocalpublic double getJumpZ()
getJumpZ in class InitedMessageLocalpublic double getMultiJumpBoost()
getMultiJumpBoost in class InitedMessageLocalpublic double getMaxFallSpeed()
getMaxFallSpeed in class InitedMessageLocalpublic double getDodgeSpeedFactor()
getDodgeSpeedFactor in class InitedMessageLocalpublic double getDodgeSpeedZ()
getDodgeSpeedZ in class InitedMessageLocalpublic double getAirControl()
getAirControl in class InitedMessageLocalpublic InitedMessageLocalImpl getLocal()
getLocal in class InitedMessageLocalpublic ISharedWorldObject getShared()
getShared in class InitedMessageLocalpublic IStaticWorldObject getStatic()
getStatic in class InitedMessageLocalpublic java.lang.String toString()
toString in class InitedMessageLocalpublic java.lang.String toHtmlString()
toHtmlString in class InitedMessageLocal
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||