cz.cuni.pogamut.MessageObjects
Class WallCollision

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

public class WallCollision
extends MessageObject
implements java.io.Serializable

Collided with a wall.
Note it is common to get a bunch of these when you try to run through a wall or are pushed into one by gunfire or something.
it is not delta message, UnrealID should be unique wall collisions are many and are send quite frequent when agent hits the wall so be carefull with them

See Also:
Serialized Form

Field Summary
 int collisionID
          Int ID of wall collision
 Triple location
          Location - absolute location of bot at time of impact
 Triple normal
          Normal - normal of the angle bot colided at.
 
Fields inherited from class cz.cuni.pogamut.MessageObjects.MessageObject
ID, type, types, UnrealID, visible
 
Constructor Summary
WallCollision()
           
 
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

collisionID

public int collisionID
Int ID of wall collision


normal

public Triple normal
Normal - normal of the angle bot colided at.


location

public Triple location
Location - absolute location of bot at time of impact

Constructor Detail

WallCollision

public WallCollision()
Method Detail

toString

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