gecco.server.automaton
Class AutomatonEvent

java.lang.Object
  |
  +--gecco.server.automaton.AutomatonEvent

public class AutomatonEvent
extends Object

An AutomatonEvent is an event that affects an automaton.

Author:
Henrik Hägerström

Field Summary
private  String eventName
          Description of the Field
private  int factor
          Description of the Field
 
Constructor Summary
AutomatonEvent(String eventName, int factor)
          Constructor for the AutomatonEvent object
 
Method Summary
 String getEventName()
          Gets the EventName attribute of the AutomatonEvent object
 int getFactor()
          Gets the Factor attribute of the AutomatonEvent object
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

eventName

private String eventName
Description of the Field

factor

private int factor
Description of the Field
Constructor Detail

AutomatonEvent

public AutomatonEvent(String eventName,
                      int factor)
Constructor for the AutomatonEvent object
Parameters:
eventName - The name of the event
factor - The factor of the event
Method Detail

getEventName

public String getEventName()
Gets the EventName attribute of the AutomatonEvent object
Returns:
The EventName value

getFactor

public int getFactor()
Gets the Factor attribute of the AutomatonEvent object
Returns:
The Factor value