|
||||||||||
| 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.InitedMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessageMessage
public class InitedMessageMessage
Implementation of the GameBots2004 message INITED contains also its Local/Shared/Static subpart class definitions..
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 | |
|---|---|
class |
InitedMessageMessage.InitedMessageLocalMessage
Implementation of the local part of the GameBots2004 message INITED, used to facade INITEDMessage. |
class |
InitedMessageMessage.InitedMessageSharedMessage
Implementation of the shared part of the GameBots2004 message INITED, used to facade INITEDMessage. |
class |
InitedMessageMessage.InitedMessageStaticMessage
Implementation of the static part of the GameBots2004 message INITED, used to facade INITEDMessage. |
| Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessage |
|---|
InitedMessage.InitedMessageUpdate |
| Nested classes/interfaces inherited from interface cz.cuni.amis.pogamut.base.communication.translator.event.IWorldObjectUpdatedEvent |
|---|
IWorldObjectUpdatedEvent.DestroyWorldObject |
| Field Summary | |
|---|---|
protected double |
AccelRate
Accelartion rate of this bot. |
protected boolean |
AccelRate_Set
Whether property 'AccelRate' was received from GB2004. |
protected double |
AdrenalineMax
Maxium amount of the adrenaline. |
protected boolean |
AdrenalineMax_Set
Whether property 'AdrenalineMax' was received from GB2004. |
protected double |
AdrenalineStart
Amount of adrenaline at the start. |
protected boolean |
AdrenalineStart_Set
Whether property 'AdrenalineStart' was received from GB2004. |
protected double |
AirControl
How well can be the bot controlled in the air (ranges from 0 to 1). |
protected boolean |
AirControl_Set
Whether property 'AirControl' was received from GB2004. |
protected double |
AirSpeed
AirSpeed of the bot (in the air). |
protected boolean |
AirSpeed_Set
Whether property 'AirSpeed' was received from GB2004. |
protected UnrealId |
BotId
A unique unreal Id of the new bot. |
protected boolean |
BotId_Set
Whether property 'BotId' was received from GB2004. |
protected double |
DamageScaling
Damage scaling for this bot. |
protected boolean |
DamageScaling_Set
Whether property 'DamageScaling' was received from GB2004. |
protected double |
DodgeSpeedFactor
Dodge speed factor. |
protected boolean |
DodgeSpeedFactor_Set
Whether property 'DodgeSpeedFactor' was received from GB2004. |
protected double |
DodgeSpeedZ
Dodge jump Z boost of the bot. |
protected boolean |
DodgeSpeedZ_Set
Whether property 'DodgeSpeedZ' was received from GB2004. |
protected double |
GroundSpeed
Groundspeed of the bot (on the ground). |
protected boolean |
GroundSpeed_Set
Whether property 'GroundSpeed' was received from GB2004. |
protected int |
HealthFull
Full health of the bot (usually 100). |
protected boolean |
HealthFull_Set
Whether property 'HealthFull' was received from GB2004. |
protected int |
HealthMax
Maximum health of the bot (default 199). |
protected boolean |
HealthMax_Set
Whether property 'HealthMax' was received from GB2004. |
protected int |
HealthStart
Bot will always start with this health amount (usually 100). |
protected boolean |
HealthStart_Set
Whether property 'HealthStart' was received from GB2004. |
protected double |
JumpZ
Bot Jump's Z boost. |
protected boolean |
JumpZ_Set
Whether property 'JumpZ' was received from GB2004. |
protected double |
LadderSpeed
Ladderspeed of the bot (on the ladder). |
protected boolean |
LadderSpeed_Set
Whether property 'LadderSpeed' was received from GB2004. |
protected double |
MaxFallSpeed
Max fall speed of the bot. |
protected boolean |
MaxFallSpeed_Set
Whether property 'MaxFallSpeed' was received from GB2004. |
protected int |
MaxMultiJump
Maximum amount of succesing jumps. |
protected boolean |
MaxMultiJump_Set
Whether property 'MaxMultiJump' was received from GB2004. |
protected double |
MultiJumpBoost
Not used in GB. |
protected boolean |
MultiJumpBoost_Set
Whether property 'MultiJumpBoost' was received from GB2004. |
protected int |
ShieldStrengthMax
Maximum strength of the bot armor (usually 150). |
protected boolean |
ShieldStrengthMax_Set
Whether property 'ShieldStrengthMax' was received from GB2004. |
protected int |
ShieldStrengthStart
Starting strength of the bot armor (usually 0). |
protected boolean |
ShieldStrengthStart_Set
Whether property 'ShieldStrengthStart' was received from GB2004. |
protected ITeamId |
TeamId
|
protected double |
WaterSpeed
Waterspeed of the bot (in the water). |
protected boolean |
WaterSpeed_Set
Whether property 'WaterSpeed' was received from GB2004. |
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessage |
|---|
InitedMessageId, PROTOTYPE, SimTime |
| Constructor Summary | |
|---|---|
InitedMessageMessage()
Parameter-less contructor for the message. |
|
InitedMessageMessage(InitedMessageMessage original)
Cloning constructor from the full message. |
|
InitedMessageMessage(UnrealId BotId,
int HealthStart,
int HealthFull,
int HealthMax,
double AdrenalineStart,
double AdrenalineMax,
int ShieldStrengthStart,
int ShieldStrengthMax,
int MaxMultiJump,
double DamageScaling,
double GroundSpeed,
double WaterSpeed,
double AirSpeed,
double LadderSpeed,
double AccelRate,
double JumpZ,
double MultiJumpBoost,
double MaxFallSpeed,
double DodgeSpeedFactor,
double DodgeSpeedZ,
double AirControl)
Creates new instance of the message InitedMessage. |
|
| Method Summary | |
|---|---|
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()
|
double |
getJumpZ()
Bot Jump's Z boost. |
double |
getLadderSpeed()
Ladderspeed of the bot (on the ladder). |
InitedMessageLocal |
getLocal()
|
ILocalWorldObjectUpdatedEvent |
getLocalEvent()
|
double |
getMaxFallSpeed()
Max fall speed of the bot. |
int |
getMaxMultiJump()
Maximum amount of succesing jumps. |
double |
getMultiJumpBoost()
Not used in GB. |
InitedMessageShared |
getShared()
|
ISharedWorldObjectUpdatedEvent |
getSharedEvent()
|
int |
getShieldStrengthMax()
Maximum strength of the bot armor (usually 150). |
int |
getShieldStrengthStart()
Starting strength of the bot armor (usually 0). |
InitedMessageStatic |
getStatic()
|
IStaticWorldObjectUpdatedEvent |
getStaticEvent()
|
ITeamId |
getTeamId()
|
double |
getWaterSpeed()
Waterspeed of the bot (in the water). |
protected void |
setTeamId(ITeamId TeamId)
Used by Yylex to slip corretn TeamId. |
String |
toHtmlString()
|
String |
toString()
|
IWorldObjectUpdateResult<IWorldObject> |
update(IWorldObject object)
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessage |
|---|
getSimTime, setSimTime, toJsonLiteral |
| 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.base.communication.translator.event.IWorldChangeEvent |
|---|
getSimTime |
| Field Detail |
|---|
protected ITeamId TeamId
protected UnrealId BotId
protected boolean BotId_Set
protected int HealthStart
protected boolean HealthStart_Set
protected int HealthFull
protected boolean HealthFull_Set
protected int HealthMax
protected boolean HealthMax_Set
protected double AdrenalineStart
protected boolean AdrenalineStart_Set
protected double AdrenalineMax
protected boolean AdrenalineMax_Set
protected int ShieldStrengthStart
protected boolean ShieldStrengthStart_Set
protected int ShieldStrengthMax
protected boolean ShieldStrengthMax_Set
protected int MaxMultiJump
protected boolean MaxMultiJump_Set
protected double DamageScaling
protected boolean DamageScaling_Set
protected double GroundSpeed
protected boolean GroundSpeed_Set
protected double WaterSpeed
protected boolean WaterSpeed_Set
protected double AirSpeed
protected boolean AirSpeed_Set
protected double LadderSpeed
protected boolean LadderSpeed_Set
protected double AccelRate
protected boolean AccelRate_Set
protected double JumpZ
protected boolean JumpZ_Set
protected double MultiJumpBoost
protected boolean MultiJumpBoost_Set
protected double MaxFallSpeed
protected boolean MaxFallSpeed_Set
protected double DodgeSpeedFactor
protected boolean DodgeSpeedFactor_Set
protected double DodgeSpeedZ
protected boolean DodgeSpeedZ_Set
protected double AirControl
protected boolean AirControl_Set
| Constructor Detail |
|---|
public InitedMessageMessage()
public InitedMessageMessage(UnrealId BotId,
int HealthStart,
int HealthFull,
int HealthMax,
double AdrenalineStart,
double AdrenalineMax,
int ShieldStrengthStart,
int ShieldStrengthMax,
int MaxMultiJump,
double DamageScaling,
double GroundSpeed,
double WaterSpeed,
double AirSpeed,
double LadderSpeed,
double AccelRate,
double JumpZ,
double MultiJumpBoost,
double MaxFallSpeed,
double DodgeSpeedFactor,
double DodgeSpeedZ,
double AirControl)
BotId - A unique unreal Id of the new bot.HealthStart - Bot will always start with this health amount (usually 100).HealthFull - Full health of the bot (usually 100).HealthMax - Maximum health of the bot (default 199).AdrenalineStart - Amount of adrenaline at the start. Usually 0.AdrenalineMax - Maxium amount of the adrenaline. Usually 100 (this can trigger the combos).ShieldStrengthStart - Starting strength of the bot armor (usually 0).ShieldStrengthMax - Maximum strength of the bot armor (usually 150).MaxMultiJump - Maximum amount of succesing jumps. Currently limited to double jump in GB.DamageScaling - Damage scaling for this bot. (he will deal reduced damage depending on the setting).GroundSpeed - Groundspeed of the bot (on the ground). Default 440.WaterSpeed - Waterspeed of the bot (in the water).AirSpeed - AirSpeed of the bot (in the air).LadderSpeed - Ladderspeed of the bot (on the ladder).AccelRate - Accelartion rate of this bot. How fast he accelerates.JumpZ - Bot Jump's Z boost.MultiJumpBoost - Not used in GB.MaxFallSpeed - Max fall speed of the bot.DodgeSpeedFactor - Dodge speed factor.DodgeSpeedZ - Dodge jump Z boost of the bot.AirControl - How well can be the bot controlled in the air (ranges from 0 to 1).public InitedMessageMessage(InitedMessageMessage original)
original - | Method Detail |
|---|
public UnrealId getId()
getId in interface IWorldObjectUpdatedEventgetId in interface IWorldObjectgetId in interface ICompositeWorldObjectUpdatedEventgetId in class InitedMessageprotected void setTeamId(ITeamId TeamId)
public ITeamId getTeamId()
public UnrealId getBotId()
InitedMessage
getBotId in class InitedMessagepublic int getHealthStart()
InitedMessage
getHealthStart in class InitedMessagepublic int getHealthFull()
InitedMessage
getHealthFull in class InitedMessagepublic int getHealthMax()
InitedMessage
getHealthMax in class InitedMessagepublic double getAdrenalineStart()
InitedMessage
getAdrenalineStart in class InitedMessagepublic double getAdrenalineMax()
InitedMessage
getAdrenalineMax in class InitedMessagepublic int getShieldStrengthStart()
InitedMessage
getShieldStrengthStart in class InitedMessagepublic int getShieldStrengthMax()
InitedMessage
getShieldStrengthMax in class InitedMessagepublic int getMaxMultiJump()
InitedMessage
getMaxMultiJump in class InitedMessagepublic double getDamageScaling()
InitedMessage
getDamageScaling in class InitedMessagepublic double getGroundSpeed()
InitedMessage
getGroundSpeed in class InitedMessagepublic double getWaterSpeed()
InitedMessage
getWaterSpeed in class InitedMessagepublic double getAirSpeed()
InitedMessage
getAirSpeed in class InitedMessagepublic double getLadderSpeed()
InitedMessage
getLadderSpeed in class InitedMessagepublic double getAccelRate()
InitedMessage
getAccelRate in class InitedMessagepublic double getJumpZ()
InitedMessage
getJumpZ in class InitedMessagepublic double getMultiJumpBoost()
InitedMessage
getMultiJumpBoost in class InitedMessagepublic double getMaxFallSpeed()
InitedMessage
getMaxFallSpeed in class InitedMessagepublic double getDodgeSpeedFactor()
InitedMessage
getDodgeSpeedFactor in class InitedMessagepublic double getDodgeSpeedZ()
InitedMessage
getDodgeSpeedZ in class InitedMessagepublic double getAirControl()
InitedMessage
getAirControl in class InitedMessagepublic InitedMessageLocal getLocal()
getLocal in interface ICompositeWorldObjectpublic InitedMessageShared getShared()
getShared in interface ICompositeWorldObjectpublic InitedMessageStatic getStatic()
getStatic in interface ICompositeWorldObjectpublic IWorldObjectUpdateResult<IWorldObject> update(IWorldObject object)
update in interface IWorldObjectUpdatedEventpublic ILocalWorldObjectUpdatedEvent getLocalEvent()
getLocalEvent in interface ICompositeWorldObjectUpdatedEventpublic ISharedWorldObjectUpdatedEvent getSharedEvent()
getSharedEvent in interface ICompositeWorldObjectUpdatedEventpublic IStaticWorldObjectUpdatedEvent getStaticEvent()
getStaticEvent in interface ICompositeWorldObjectUpdatedEventpublic String toString()
toString in class InitedMessagepublic String toHtmlString()
toHtmlString in class InitedMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||