roboplayer.fsm
Class Machine

java.lang.Object
  |
  +--roboplayer.fsm.Machine
All Implemented Interfaces:
TickListener

public class Machine
extends java.lang.Object
implements TickListener

This class represents machine.

Version:
1.0
Author:
Krzysztof Langner

Constructor Summary
Machine(State state, RoboCore roboCore)
          Constructor
 
Method Summary
 void onTick()
          This is main Brain function used to make decision Check play mode and call suitable function
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Machine

public Machine(State state,
               RoboCore roboCore)
Constructor

Parameters:
state - start state for this machine
Method Detail

onTick

public void onTick()
This is main Brain function used to make decision Check play mode and call suitable function

Specified by:
onTick in interface TickListener