|
|||||||||
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.IncomingProjectileLocal cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectileMessage.IncomingProjectileLocalMessage
public class IncomingProjectileMessage.IncomingProjectileLocalMessage
Implementation of the local part of the GameBots2004 message PRJ, used to facade PRJMessage.
Complete message documentation: Both asynchronous and synchronous message. Incoming projectile that we can see.
Field Summary |
---|
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectileLocal |
---|
SimTime |
Constructor Summary | |
---|---|
IncomingProjectileMessage.IncomingProjectileLocalMessage()
|
Method Summary | |
---|---|
IncomingProjectileMessage.IncomingProjectileLocalMessage |
clone()
|
double |
getDamageRadius()
If the projectile has splash damage, how big it is – in ut units. |
Vector3d |
getDirection()
Which direction projectile is heading to -> orientation vector. |
UnrealId |
getId()
Unique Id of the projectile. |
double |
getImpactTime()
Estimated time till impact. |
IncomingProjectileMessage.IncomingProjectileLocalMessage |
getLocal()
|
Location |
getLocation()
Current location of the projectile. |
Location |
getOrigin()
Possition of the origin, when combined with direction can define the line of fire. |
ISharedWorldObject |
getShared()
|
double |
getSpeed()
Current speed of the projectile. |
IStaticWorldObject |
getStatic()
|
java.lang.String |
getType()
The class of the projectile (so you know what is flying against you). |
Velocity |
getVelocity()
Current velocity vector of the projectile. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toString()
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectileLocal |
---|
getCompositeClass, getSimTime, setSimTime |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IncomingProjectileMessage.IncomingProjectileLocalMessage()
Method Detail |
---|
public IncomingProjectileMessage.IncomingProjectileLocalMessage clone()
clone
in interface ILocalWorldObject
clone
in class IncomingProjectileLocal
public IncomingProjectileMessage.IncomingProjectileLocalMessage getLocal()
getLocal
in class IncomingProjectileLocal
public ISharedWorldObject getShared()
getShared
in class IncomingProjectileLocal
public IStaticWorldObject getStatic()
getStatic
in class IncomingProjectileLocal
public UnrealId getId()
getId
in interface IWorldObject
getId
in class IncomingProjectileLocal
public double getImpactTime()
getImpactTime
in class IncomingProjectileLocal
public Vector3d getDirection()
getDirection
in class IncomingProjectileLocal
public Location getLocation()
getLocation
in class IncomingProjectileLocal
public Velocity getVelocity()
getVelocity
in class IncomingProjectileLocal
public double getSpeed()
getSpeed
in class IncomingProjectileLocal
public Location getOrigin()
getOrigin
in class IncomingProjectileLocal
public double getDamageRadius()
getDamageRadius
in class IncomingProjectileLocal
public java.lang.String getType()
getType
in class IncomingProjectileLocal
public java.lang.String toString()
toString
in class IncomingProjectileLocal
public java.lang.String toHtmlString()
toHtmlString
in class IncomingProjectileLocal
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |