org.jadv.events
Class ObjectNoLongerSeenEvent

java.lang.Object
  |
  +--org.jadv.events.Event
        |
        +--org.jadv.events.ObjectNoLongerSeenEvent

public class ObjectNoLongerSeenEvent
extends Event

Event, that tells the target object, that another object cannot be seen any longer.

Author:
neitzel

Field Summary
private  AcceptEvents _obj
           
private  java.lang.String _seenObjectID
           
private  int _x
           
private  int _y
           
 
Fields inherited from class org.jadv.events.Event
_NEXT
 
Constructor Summary
ObjectNoLongerSeenEvent(AcceptEvents obj, java.lang.String seenObjID, int x, int y)
           
 
Method Summary
 void doEvent()
          Give this event to the target object
 java.lang.String getSeenObject()
          Get the seen object.
 int getX()
          Get the x coordinate of the seen object
 int getY()
          Get the y coordinate of the seen object
 void markBad()
          markBad() Mark an Event as bad.
 
Methods inherited from class org.jadv.events.Event
findObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_obj

private AcceptEvents _obj

_seenObjectID

private java.lang.String _seenObjectID

_x

private int _x

_y

private int _y
Constructor Detail

ObjectNoLongerSeenEvent

public ObjectNoLongerSeenEvent(AcceptEvents obj,
                               java.lang.String seenObjID,
                               int x,
                               int y)
Method Detail

getSeenObject

public java.lang.String getSeenObject()
Get the seen object.

Returns:
JAdvObject

getX

public int getX()
Get the x coordinate of the seen object

Returns:
int

getY

public int getY()
Get the y coordinate of the seen object

Returns:
int

doEvent

public void doEvent()
Give this event to the target object

Specified by:
doEvent in class Event
See Also:
Event.doEvent()

markBad

public void markBad()
Description copied from class: Event
markBad() Mark an Event as bad. This means: This event wasn't finished in time. If possible, something should be done (e.g. turning the Hearbeat of an Object off, Stop a timer, ... Maybe writing some Message to the developer!

Specified by:
markBad in class Event
See Also:
Event.markBad()