Class BodyEvent

java.lang.Object
  |
  +--Event
        |
        +--BodyEvent

public class BodyEvent
extends Event

This class is used as an indicator that a sense_body message was was received. This type of message is needed to synchronize the actions of the Player with the action cylces of the server. The see messages arrive in intervals of 150ms, while the action cycle whithin one command can be sent is 100ms. Only sense_body messages arrive within this cycle time.

Version:
1.1
Author:
Gerald Kuehne, Markus Beier

Constructor Summary
BodyEvent()
           
 
Method Summary
 boolean isBodyEvent()
          indicates that the event is of type BodyEvent
 
Methods inherited from class Event
isVisualEvent
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

BodyEvent

public BodyEvent()
Method Detail

isBodyEvent

public boolean isBodyEvent()
indicates that the event is of type BodyEvent
Overrides:
isBodyEvent in class Event
Returns:
a boolean value indicating that this event is a BodyEvent