EDU.gatech.cc.is.communication
Class PositionMessage

java.lang.Object
  |
  +--EDU.gatech.cc.is.communication.Message
        |
        +--EDU.gatech.cc.is.communication.PositionMessage

public class PositionMessage
extends Message
implements java.lang.Cloneable, java.io.Serializable

Position messages communicated to/from a robot. Sends a Vec2.

Copyright (c)1998 Tucker Balch

See Also:
Serialized Form

Field Summary
 Vec2 val
          the position of the sender in global coordinates.
 
Fields inherited from class EDU.gatech.cc.is.communication.Message
BROADCAST, MULTICAST, receivers, sender, type, UNICAST
 
Constructor Summary
PositionMessage(Vec2 p)
          create a position message.
 
Methods inherited from class EDU.gatech.cc.is.communication.Message
clone, main, paramString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

val

public Vec2 val
the position of the sender in global coordinates.
Constructor Detail

PositionMessage

public PositionMessage(Vec2 p)
create a position message.
Parameters:
p - Vec2, a position.