gecco.game.testgame
Class AutomatonImpl
java.lang.Object
|
+--gecco.server.automaton.Automaton
|
+--gecco.game.testgame.AutomatonImpl
- public class AutomatonImpl
- extends Automaton
Description of the Class
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutomatonImpl
public AutomatonImpl()
getUnitEventForCurrentState
public UnitEvent getUnitEventForCurrentState(String unitType)
- Gets the UnitEventForCurrentState attribute of the AutomatonImpl object
- Overrides:
getUnitEventForCurrentState
in class Automaton
- Parameters:
unitType
- Description of Parameter- Returns:
- The UnitEventForCurrentState value
initialize
public void initialize(int initialState)
- Description of the Method
- Overrides:
initialize
in class Automaton
- Parameters:
initialState
- Description of Parameter
update
public AutomatonReturn update(int[][] neighourStates)
- Description of the Method
- Overrides:
update
in class Automaton
- Parameters:
neighourStates
- Description of Parameter- Returns:
- Description of the Returned Value
handleEvent
public AutomatonReturn handleEvent(AutomatonEvent event)
- Description of the Method
- Overrides:
handleEvent
in class Automaton
- Parameters:
event
- Description of Parameter- Returns:
- Description of the Returned Value