示例#1
0
 public NeedyKnobComponentSolver(BombCommander bombCommander, NeedyKnobComponent bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller) :
     base(bombCommander, bombComponent, ircConnection, canceller)
 {
     _pointingKnob = bombComponent.PointingKnob;
     modInfo       = ComponentSolverFactory.GetModuleInfo("NeedyKnobComponentSolver");
 }
示例#2
0
 public NeedyKnobComponentSolver(BombCommander bombCommander, NeedyKnobComponent bombComponent) :
     base(bombCommander, bombComponent)
 {
     _pointingKnob = bombComponent.PointingKnob;
     modInfo       = ComponentSolverFactory.GetModuleInfo("NeedyKnobComponentSolver", "!{0} rotate 3, !{0} turn 3 [rotate the knob 3 quarter-turns]", "Knob");
 }
 public Direction GetSolution(NeedyKnobComponent component)
 {
     return((Direction)base.ExecuteRuleList(component, this.Rules));
 }