MATES 3.0-rc2

org.mates.sim.event.host
Class HostEvent

java.lang.Object
  extended byorg.mates.sim.event.Event
      extended byorg.mates.sim.event.host.HostEvent
Direct Known Subclasses:
HostClickedEvent, HostCreatedEvent, HostDeathEvent, HostMovedEvent

public abstract class HostEvent
extends Event


Field Summary
protected  Host host
          The host associated with this event.
 
Constructor Summary
HostEvent(Host host)
          Creates a new HostEvent associated with a specific host.
 
Method Summary
 Host getHost()
          Returns the host associated with this event.
 
Methods inherited from class org.mates.sim.event.Event
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

host

protected Host host
The host associated with this event.

Constructor Detail

HostEvent

public HostEvent(Host host)
Creates a new HostEvent associated with a specific host.

Method Detail

getHost

public Host getHost()
Returns the host associated with this event.


MATES 3.0-rc2

Submit a bug or request a feature
http://mates.sourceforge.net/

Copyright 2004 Evan Sultanik