cz.cuni.pogamut.MessageObjects
Class IncommingProjectile

java.lang.Object
  extended by cz.cuni.pogamut.MessageObjects.MessageObject
      extended by cz.cuni.pogamut.MessageObjects.IncommingProjectile
All Implemented Interfaces:
Visible, java.io.Serializable, java.lang.Cloneable

public class IncommingProjectile
extends MessageObject
implements java.io.Serializable

Incoming projectile likely to hit you. May give you a chance to dodge.

See Also:
Serialized Form

Field Summary
 java.lang.String cls
          Unreal class of incoming projectile
 double damageRadius
           
 Triple direction
           
 Triple location
           
 Triple origin
           
 double speed
           
 double time
          estimated time till impact
 Triple velocity
           
 
Fields inherited from class cz.cuni.pogamut.MessageObjects.MessageObject
ID, type, types, UnrealID, visible
 
Constructor Summary
IncommingProjectile()
           
IncommingProjectile(int ID, java.lang.String UnrealID)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class cz.cuni.pogamut.MessageObjects.MessageObject
clone, diff, equals, getID, getType, getUnrealID, getVisibility, hasID, isVisible, setID, setType, setUnrealID, setVisible, update
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

time

public double time
estimated time till impact


direction

public Triple direction

origin

public Triple origin

damageRadius

public double damageRadius

velocity

public Triple velocity

location

public Triple location

speed

public double speed

cls

public java.lang.String cls
Unreal class of incoming projectile

Constructor Detail

IncommingProjectile

public IncommingProjectile(int ID,
                           java.lang.String UnrealID)

IncommingProjectile

public IncommingProjectile()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class MessageObject