Exemple #1
0
 /// <summary>
 /// Tests if the given turn is significant.
 /// </summary>
 /// <param name="machine"></param>
 /// <param name="test"></param>
 /// <returns></returns>
 private static bool TestNonSignificantTurn(FiniteStateMachine <MicroPlannerMessage> machine, object test)
 {
     if (!TurnMachine.TestSignificantTurn(machine, test))
     { // it is no signficant turn.
         return(true);
     }
     return(false);
 }
Exemple #2
0
 /// <summary>
 /// Creates a new turn machine.
 /// </summary>
 /// <param name="planner"></param>
 public TurnMachine(MicroPlanner planner)
     : base(TurnMachine.Initialize(), planner, 100)
 {
 }