|
|||||||||
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.InitedMessageCompositeImpl
public class InitedMessageCompositeImpl
Composite implementation of the INITED abstract message. It wraps Local/Shared/Static parts in single object allowing to presenting a nice facade for users.
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 |
---|
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessage |
---|
InitedMessage.InitedMessageUpdate |
Field Summary | |
---|---|
protected InitedMessageLocalImpl |
partLocal
|
protected InitedMessageStaticImpl |
partStatic
|
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessage |
---|
InitedMessageId, PROTOTYPE, SimTime |
Constructor Summary | |
---|---|
InitedMessageCompositeImpl()
Parameter-less contructor for the message. |
|
InitedMessageCompositeImpl(InitedMessageCompositeImpl original)
Cloning constructor. |
|
InitedMessageCompositeImpl(InitedMessageLocalImpl partLocal,
InitedMessageSharedImpl partShared,
InitedMessageStaticImpl partStatic)
Composite-impl constructor. |
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()
|
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.InitedMessage |
---|
getSimTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected InitedMessageStaticImpl partStatic
protected InitedMessageLocalImpl partLocal
Constructor Detail |
---|
public InitedMessageCompositeImpl()
public InitedMessageCompositeImpl(InitedMessageLocalImpl partLocal, InitedMessageSharedImpl partShared, InitedMessageStaticImpl partStatic)
partLocal
- local-part of the messagepartShared
- shared-part of the messagepartStatic
- static-part of the messagepublic InitedMessageCompositeImpl(InitedMessageCompositeImpl original)
original
- Method Detail |
---|
public UnrealId getId()
IWorldObject
getId
in interface IWorldObject
getId
in class InitedMessage
public void setSimTime(long SimTime)
InitedMessage
setSimTime
in class InitedMessage
public InitedMessageStatic getStatic()
public InitedMessageLocal getLocal()
public InitedMessageShared getShared()
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 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 |