|
|||||||||
| 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.IncomingProjectileLocal
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectileLocalImpl
public class IncomingProjectileLocalImpl

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