|
|||||||||
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 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 IWorldObject
getId
in class InitedMessageLocal
public void setSimTime(long SimTime)
InitedMessageLocal
setSimTime
in class InitedMessageLocal
public InitedMessageLocalImpl clone()
clone
in interface ILocalWorldObject
clone
in class InitedMessageLocal
public UnrealId getBotId()
getBotId
in class InitedMessageLocal
public int getHealthStart()
getHealthStart
in class InitedMessageLocal
public int getHealthFull()
getHealthFull
in class InitedMessageLocal
public int getHealthMax()
getHealthMax
in class InitedMessageLocal
public double getAdrenalineStart()
getAdrenalineStart
in class InitedMessageLocal
public double getAdrenalineMax()
getAdrenalineMax
in class InitedMessageLocal
public int getShieldStrengthStart()
getShieldStrengthStart
in class InitedMessageLocal
public int getShieldStrengthMax()
getShieldStrengthMax
in class InitedMessageLocal
public int getMaxMultiJump()
getMaxMultiJump
in class InitedMessageLocal
public double getDamageScaling()
getDamageScaling
in class InitedMessageLocal
public double getGroundSpeed()
getGroundSpeed
in class InitedMessageLocal
public double getWaterSpeed()
getWaterSpeed
in class InitedMessageLocal
public double getAirSpeed()
getAirSpeed
in class InitedMessageLocal
public double getLadderSpeed()
getLadderSpeed
in class InitedMessageLocal
public double getAccelRate()
getAccelRate
in class InitedMessageLocal
public double getJumpZ()
getJumpZ
in class InitedMessageLocal
public double getMultiJumpBoost()
getMultiJumpBoost
in class InitedMessageLocal
public double getMaxFallSpeed()
getMaxFallSpeed
in class InitedMessageLocal
public double getDodgeSpeedFactor()
getDodgeSpeedFactor
in class InitedMessageLocal
public double getDodgeSpeedZ()
getDodgeSpeedZ
in class InitedMessageLocal
public double getAirControl()
getAirControl
in class InitedMessageLocal
public InitedMessageLocalImpl getLocal()
getLocal
in class InitedMessageLocal
public ISharedWorldObject getShared()
getShared
in class InitedMessageLocal
public IStaticWorldObject getStatic()
getStatic
in class InitedMessageLocal
public java.lang.String toString()
toString
in class InitedMessageLocal
public java.lang.String toHtmlString()
toHtmlString
in class InitedMessageLocal
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |