rle.core.event
Class TimeoutCause

java.lang.Object
  extended by rle.core.event.TimeoutCause
All Implemented Interfaces:
Cause

public class TimeoutCause
extends java.lang.Object
implements Cause

Special-case Cause for changes made due to the elapse of time.


Constructor Summary
TimeoutCause()
           
 
Method Summary
 java.lang.String getCauseDescription()
          The internationalized description of this Cause.
 java.lang.Object getSource()
          The underlying Object that the Cause description refers to.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeoutCause

public TimeoutCause()
Method Detail

getCauseDescription

public java.lang.String getCauseDescription()
The internationalized description of this Cause. This should be able to fit the basic sentence structure "Player Timmy, killed by [cause] on level 25."

Specified by:
getCauseDescription in interface Cause

getSource

public java.lang.Object getSource()
The underlying Object that the Cause description refers to.

Specified by:
getSource in interface Cause

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object