com.swath.event
Class YouDestroyedProbe

java.lang.Object
  extended by com.swath.event.YouDestroyedProbe
All Implemented Interfaces:
EventIfc

public final class YouDestroyedProbe
extends java.lang.Object

The YouDestroyedProbe event.
Posted: When your fighters destroys an ether probe.

Since:
SWATH 1.7

Method Summary
 java.lang.String getClassName()
          Gets the event class name.
 Trader getOwner()
          Gets the owner of the ether probe that was destroyed.
 int getSector()
          Gets the sector where the ether probe was destroyed.
 boolean isEventClass(java.lang.Class eventClass)
          Indicates if this event matches a given event class.
 boolean isUserDefined()
          Indicates if this event is user defined or not.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSector

public int getSector()
Gets the sector where the ether probe was destroyed.

Returns:
The sector number.
Since:
SWATH 1.7

getOwner

public Trader getOwner()
Gets the owner of the ether probe that was destroyed.

Returns:
The ether probe owner.
Since:
SWATH 1.7

isEventClass

public final boolean isEventClass(java.lang.Class eventClass)
Description copied from interface: EventIfc
Indicates if this event matches a given event class.

Specified by:
isEventClass in interface EventIfc
Parameters:
eventClass - The event class.
Returns:
true if this event is of the same class, otherwise false.

isUserDefined

public final boolean isUserDefined()
Description copied from interface: EventIfc
Indicates if this event is user defined or not.

Specified by:
isUserDefined in interface EventIfc
Returns:
true if user defined, otherwise false.

getClassName

public final java.lang.String getClassName()
Description copied from interface: EventIfc
Gets the event class name.

Specified by:
getClassName in interface EventIfc
Returns:
The class name.