|
||||||||||
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 cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
Id
Unique Id of the projectile. |
protected double |
ImpactTime
Estimated time till impact. |
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(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
double ImpactTime)
Creates new instance of the message IncomingProjectile. |
Method Summary | |
---|---|
IncomingProjectileLocalImpl |
clone()
|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getId()
Unique Id of the projectile. |
double |
getImpactTime()
Estimated time till impact. |
IncomingProjectileLocalImpl |
getLocal()
|
cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject |
getShared()
|
cz.cuni.amis.pogamut.multi.communication.worldview.object.IStaticWorldObject |
getStatic()
|
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.IncomingProjectileLocal |
---|
getCompositeClass, getSimTime |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id
protected double ImpactTime
Constructor Detail |
---|
public IncomingProjectileLocalImpl()
public IncomingProjectileLocalImpl(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id, double ImpactTime)
Id
- Unique Id of the projectile.ImpactTime
- Estimated time till impact.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 IncomingProjectileLocal
public IncomingProjectileLocalImpl clone()
clone
in interface cz.cuni.amis.pogamut.multi.communication.worldview.object.ILocalWorldObject
clone
in class IncomingProjectileLocal
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
getId
in interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject
getId
in class IncomingProjectileLocal
public double getImpactTime()
getImpactTime
in class IncomingProjectileLocal
public IncomingProjectileLocalImpl getLocal()
getLocal
in class IncomingProjectileLocal
public cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject getShared()
getShared
in class IncomingProjectileLocal
public cz.cuni.amis.pogamut.multi.communication.worldview.object.IStaticWorldObject getStatic()
getStatic
in class IncomingProjectileLocal
public String toString()
toString
in class IncomingProjectileLocal
public String toHtmlString()
toHtmlString
in class IncomingProjectileLocal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |