cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class IncomingProjectileMessage.IncomingProjectileLocalMessage
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
- All Implemented Interfaces:
- IWorldObject, ILocalViewable, ILocalWorldObject, ILocalGBViewable, Cloneable
- Enclosing class:
- IncomingProjectileMessage
public class IncomingProjectileMessage.IncomingProjectileLocalMessage
- extends IncomingProjectileLocal
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.
IncomingProjectileMessage.IncomingProjectileLocalMessage
public IncomingProjectileMessage.IncomingProjectileLocalMessage()
clone
public IncomingProjectileMessage.IncomingProjectileLocalMessage clone()
- Specified by:
clone in interface ILocalWorldObject- Specified by:
clone in class IncomingProjectileLocal
getLocal
public IncomingProjectileMessage.IncomingProjectileLocalMessage getLocal()
- Overrides:
getLocal in class IncomingProjectileLocal
getShared
public ISharedWorldObject getShared()
- Overrides:
getShared in class IncomingProjectileLocal
getStatic
public IStaticWorldObject getStatic()
- Overrides:
getStatic in class IncomingProjectileLocal
getId
public UnrealId getId()
- Unique Id of the projectile.
- Specified by:
getId in interface IWorldObject- Specified by:
getId in class IncomingProjectileLocal
getImpactTime
public double getImpactTime()
- Estimated time till impact.
- Specified by:
getImpactTime in class IncomingProjectileLocal
isVisible
public boolean isVisible()
- The class of the projectile (so you know what is flying
against you).
- Specified by:
isVisible in interface ILocalViewable- Specified by:
isVisible in class IncomingProjectileLocal
toString
public String toString()
- Overrides:
toString in class IncomingProjectileLocal
toHtmlString
public String toHtmlString()
- Overrides:
toHtmlString in class IncomingProjectileLocal
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.