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
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, toString, wait, wait, wait |
AutomatonEvent
public AutomatonEvent(String eventName,
int factor)
- Constructor for the AutomatonEvent object
- Parameters:
eventName
- The name of the eventfactor
- The factor of the event
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