jsim.event
Class Event

java.lang.Object
  extended by jsim.event.Event

public abstract class Event
extends java.lang.Object

This class provides facilities for producing simulation events.

Version:
1.0, 16 Dec 1996
Author:
Zhiwei Zhang, John A. Miller

Field Summary
protected  Entity entity
          Entity involved.
 
Constructor Summary
Event(Entity ent)
          Constructs a simulation event.
 
Method Summary
abstract  void occur()
          Executes the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entity

protected Entity entity
Entity involved.

Constructor Detail

Event

public Event(Entity ent)
Constructs a simulation event.

Parameters:
ent - entity involved in event
Method Detail

occur

public abstract void occur()
Executes the event.