public class SelfMessage.SelfLocalMessage extends SelfLocal
| Constructor and Description |
|---|
SelfMessage.SelfLocalMessage() |
| Modifier and Type | Method and Description |
|---|---|
SelfMessage.SelfLocalMessage |
clone() |
String |
getAction()
Name of the current BDI action.
|
int |
getAdrenaline()
How much adrenaline the bot has.
|
String |
getAnim()
For UE2.
|
int |
getArmor()
Combined size of high armor and low armor (or small armor).
|
UnrealId |
getBotId()
Unique Id of this bot.
|
String |
getBubble()
For UE2.
|
String |
getCombo()
Name of the current combo (None if no combo active).
|
String |
getEmotCenter()
For UE2.
|
String |
getEmotLeft()
For UE2.
|
String |
getEmotRight()
For UE2.
|
Location |
getFloorLocation()
Holds current floor location under the bot.
|
Location |
getFloorNormal()
Holds current floor normal under the bot.
|
int |
getHealth()
How much health the bot has left.
|
UnrealId |
getId()
Unique Id of this self message instance.
|
SelfMessage.SelfLocalMessage |
getLocal() |
Location |
getLocation()
An absolute location of the bot.
|
String |
getName()
Human readable bot name.
|
int |
getPrimaryAmmo()
How much ammo the bot has left for current weapon primary
mode.
|
Rotation |
getRotation()
Which direction the bot is facing in absolute terms.
|
int |
getSecondaryAmmo()
How much ammo the bot has left for current weapon secondary
mode.
|
ISharedWorldObject |
getShared() |
int |
getSmallArmor()
Also refered to as a "low armor".
|
IStaticWorldObject |
getStatic() |
int |
getTeam()
What team the bot is on.
|
double |
getUDamageTime()
Time when the UDamage effect expires.
|
Velocity |
getVelocity()
Absolute velocity of the bot as a vector of movement per one
game second.
|
String |
getWeapon()
Id of the weapon we are holding.
|
boolean |
isAltFiring()
If we are firing in secondary firing mode.
|
boolean |
isCrouched()
If we are currently crouched.
|
boolean |
isShooting()
If the bot is shooting or not.
|
boolean |
isVehicle()
If we are vehicle just these attr.
|
boolean |
isWalking()
If we are currently in walking mode.
|
String |
toHtmlString() |
String |
toString() |
getCompositeClass, getSimTime, setSimTimetoJsonLiteralpublic SelfMessage.SelfLocalMessage clone()
clone in interface ILocalWorldObjectclone in class SelfLocalpublic SelfMessage.SelfLocalMessage getLocal()
public ISharedWorldObject getShared()
public IStaticWorldObject getStatic()
public UnrealId getId()
getId in interface IWorldObjectgetId in class SelfLocalpublic UnrealId getBotId()
public boolean isVehicle()
public Location getLocation()
getLocation in class SelfLocalpublic Velocity getVelocity()
getVelocity in class SelfLocalpublic Rotation getRotation()
getRotation in class SelfLocalpublic int getTeam()
public String getWeapon()
public boolean isShooting()
isShooting in class SelfLocalpublic int getHealth()
public int getPrimaryAmmo()
getPrimaryAmmo in class SelfLocalpublic int getSecondaryAmmo()
getSecondaryAmmo in class SelfLocalpublic int getAdrenaline()
getAdrenaline in class SelfLocalpublic int getArmor()
public int getSmallArmor()
getSmallArmor in class SelfLocalpublic boolean isAltFiring()
isAltFiring in class SelfLocalpublic boolean isCrouched()
isCrouched in class SelfLocalpublic boolean isWalking()
public Location getFloorLocation()
getFloorLocation in class SelfLocalpublic Location getFloorNormal()
getFloorNormal in class SelfLocalpublic String getCombo()
public double getUDamageTime()
getUDamageTime in class SelfLocalpublic String getAction()
public String getEmotLeft()
getEmotLeft in class SelfLocalpublic String getEmotCenter()
getEmotCenter in class SelfLocalpublic String getEmotRight()
getEmotRight in class SelfLocalpublic String getBubble()
public String getAnim()
public String toHtmlString()
toHtmlString in class SelfLocalCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.