|
|||||||||
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.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 |
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 ITeamId |
TeamId
|
protected double |
WaterSpeed
Waterspeed of the bot (in the water). |
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()
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). |
InitedMessageLocal |
getLocal()
|
double |
getMaxFallSpeed()
Max fall speed of the bot. |
int |
getMaxMultiJump()
Maximum amount of succesing jumps. |
double |
getMultiJumpBoost()
Not used in GB. |
InitedMessageShared |
getShared()
|
int |
getShieldStrengthMax()
Maximum strength of the bot armor (usually 150). |
int |
getShieldStrengthStart()
Starting strength of the bot armor (usually 0). |
InitedMessageStatic |
getStatic()
|
ITeamId |
getTeamId()
|
double |
getWaterSpeed()
Waterspeed of the bot (in the water). |
protected void |
setTeamId(ITeamId TeamId)
Used by Yylex to slip corretn TeamId. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toString()
|
IWorldObjectUpdateResult<IWorldObject> |
update(IWorldObject object)
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessage |
---|
getSimTime, setSimTime |
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 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 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()
IWorldObject
getId
in interface IWorldObjectUpdatedEvent
getId
in interface IWorldObject
getId
in class InitedMessage
protected void setTeamId(ITeamId TeamId)
public ITeamId getTeamId()
public UnrealId getBotId()
InitedMessage
getBotId
in class InitedMessage
public int getHealthStart()
InitedMessage
getHealthStart
in class InitedMessage
public int getHealthFull()
InitedMessage
getHealthFull
in class InitedMessage
public int getHealthMax()
InitedMessage
getHealthMax
in class InitedMessage
public double getAdrenalineStart()
InitedMessage
getAdrenalineStart
in class InitedMessage
public double getAdrenalineMax()
InitedMessage
getAdrenalineMax
in class InitedMessage
public int getShieldStrengthStart()
InitedMessage
getShieldStrengthStart
in class InitedMessage
public int getShieldStrengthMax()
InitedMessage
getShieldStrengthMax
in class InitedMessage
public int getMaxMultiJump()
InitedMessage
getMaxMultiJump
in class InitedMessage
public double getDamageScaling()
InitedMessage
getDamageScaling
in class InitedMessage
public double getGroundSpeed()
InitedMessage
getGroundSpeed
in class InitedMessage
public double getWaterSpeed()
InitedMessage
getWaterSpeed
in class InitedMessage
public double getAirSpeed()
InitedMessage
getAirSpeed
in class InitedMessage
public double getLadderSpeed()
InitedMessage
getLadderSpeed
in class InitedMessage
public double getAccelRate()
InitedMessage
getAccelRate
in class InitedMessage
public double getJumpZ()
InitedMessage
getJumpZ
in class InitedMessage
public double getMultiJumpBoost()
InitedMessage
getMultiJumpBoost
in class InitedMessage
public double getMaxFallSpeed()
InitedMessage
getMaxFallSpeed
in class InitedMessage
public double getDodgeSpeedFactor()
InitedMessage
getDodgeSpeedFactor
in class InitedMessage
public double getDodgeSpeedZ()
InitedMessage
getDodgeSpeedZ
in class InitedMessage
public double getAirControl()
InitedMessage
getAirControl
in class InitedMessage
public InitedMessageLocal getLocal()
getLocal
in interface ICompositeWorldObject
public InitedMessageShared getShared()
getShared
in interface ICompositeWorldObject
public InitedMessageStatic getStatic()
getStatic
in interface ICompositeWorldObject
public IWorldObjectUpdateResult<IWorldObject> update(IWorldObject object)
update
in interface IWorldObjectUpdatedEvent
public java.lang.String toString()
toString
in class InitedMessage
public java.lang.String toHtmlString()
toHtmlString
in class InitedMessage
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |