gecco.server.actsofgod
Class Act

java.lang.Object
  |
  +--gecco.server.actsofgod.Act
All Implemented Interfaces:
Comparable

class Act
extends Object
implements Comparable

Description of the Class

Author:
Karl Hasselström

Field Summary
private  AutomatonEvent theAct
          Description of the Field
private  long time
          Description of the Field
private  double x
          Description of the Field
private  double y
          Description of the Field
 
Constructor Summary
Act(AutomatonEvent ae, double x, double y, long time)
          Constructor for the Act object
 
Method Summary
 int compareTo(Object o)
          Description of the Method
 AutomatonEvent getAct()
          Gets the Act attribute of the Act object
 long getTime()
          Gets the Time attribute of the Act object
 double getX()
          Gets the X attribute of the Act object
 double getY()
          Gets the Y attribute of the Act object
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

theAct

private AutomatonEvent theAct
Description of the Field

time

private long time
Description of the Field

x

private double x
Description of the Field

y

private double y
Description of the Field
Constructor Detail

Act

public Act(AutomatonEvent ae,
           double x,
           double y,
           long time)
Constructor for the Act object
Parameters:
ae - Description of Parameter
x - Description of Parameter
y - Description of Parameter
time - Description of Parameter
Method Detail

getX

public double getX()
Gets the X attribute of the Act object
Returns:
The X value

getY

public double getY()
Gets the Y attribute of the Act object
Returns:
The Y value

getTime

public long getTime()
Gets the Time attribute of the Act object
Returns:
The Time value

getAct

public AutomatonEvent getAct()
Gets the Act attribute of the Act object
Returns:
The Act value

compareTo

public int compareTo(Object o)
Description of the Method
Specified by:
compareTo in interface Comparable
Parameters:
o - Description of Parameter
Returns:
Description of the Returned Value