|
||||||||||
| 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.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()
|
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. |
String |
toHtmlString()
|
String |
toString()
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessage |
|---|
getSimTime, toJsonLiteral |
| 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()
getId in interface IWorldObjectgetId in class InitedMessagepublic void setSimTime(long SimTime)
InitedMessage
setSimTime in class InitedMessagepublic InitedMessageStatic getStatic()
public InitedMessageLocal getLocal()
public InitedMessageShared getShared()
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 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 | |||||||||