Class PositionMessage


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

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
BROADCAST, MULTICAST, receivers, sender, type, UNICAST
Constructor Summary
PositionMessage(Vec2 p)
          create a position message.
Methods inherited from class
clone, main, paramString, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


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


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