Exemple #1
0
 public static IState CreateTurned(IRobot robot)
 {
     return(new Turned(robot, CalculatorFactory.CreateForActiveCalculator(robot)));
 }
Exemple #2
0
 public static IState CreateInactive(IRobot robot)
 {
     return(new Inactive(robot, CalculatorFactory.CreateForInactiveCalculator(robot)));
 }