public class InitedMessageMessage extends InitedMessage implements IWorldObjectUpdatedEvent, ICompositeWorldObjectUpdatedEvent
| Modifier and Type | Class and Description |
|---|---|
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.
|
InitedMessage.InitedMessageUpdateIWorldObjectUpdatedEvent.DestroyWorldObject| Modifier and Type | Field and Description |
|---|---|
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.
|
InitedMessageId, PROTOTYPE, SimTime| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
getSimTime, setSimTime, toJsonLiteralclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSimTimeprotected 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
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 - 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()
InitedMessagegetBotId in class InitedMessagepublic int getHealthStart()
InitedMessagegetHealthStart in class InitedMessagepublic int getHealthFull()
InitedMessagegetHealthFull in class InitedMessagepublic int getHealthMax()
InitedMessagegetHealthMax in class InitedMessagepublic double getAdrenalineStart()
InitedMessagegetAdrenalineStart in class InitedMessagepublic double getAdrenalineMax()
InitedMessagegetAdrenalineMax in class InitedMessagepublic int getShieldStrengthStart()
InitedMessagegetShieldStrengthStart in class InitedMessagepublic int getShieldStrengthMax()
InitedMessagegetShieldStrengthMax in class InitedMessagepublic int getMaxMultiJump()
InitedMessagegetMaxMultiJump in class InitedMessagepublic double getDamageScaling()
InitedMessagegetDamageScaling in class InitedMessagepublic double getGroundSpeed()
InitedMessagegetGroundSpeed in class InitedMessagepublic double getWaterSpeed()
InitedMessagegetWaterSpeed in class InitedMessagepublic double getAirSpeed()
InitedMessagegetAirSpeed in class InitedMessagepublic double getLadderSpeed()
InitedMessagegetLadderSpeed in class InitedMessagepublic double getAccelRate()
InitedMessagegetAccelRate in class InitedMessagepublic double getJumpZ()
InitedMessagegetJumpZ in class InitedMessagepublic double getMultiJumpBoost()
InitedMessagegetMultiJumpBoost in class InitedMessagepublic double getMaxFallSpeed()
InitedMessagegetMaxFallSpeed in class InitedMessagepublic double getDodgeSpeedFactor()
InitedMessagegetDodgeSpeedFactor in class InitedMessagepublic double getDodgeSpeedZ()
InitedMessagegetDodgeSpeedZ in class InitedMessagepublic double getAirControl()
InitedMessagegetAirControl 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 InitedMessageCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.