コード例 #1
0
 public WireSequenceComponentSolver(BombCommander bombCommander, WireSequenceComponent bombComponent) :
     base(bombCommander, bombComponent)
 {
     _wireSequence = (List <WireSequenceComponent.WireConfiguration>)_wireSequenceField.GetValue(bombComponent);
     _upButton     = bombComponent.UpButton;
     _downButton   = bombComponent.DownButton;
     modInfo       = ComponentSolverFactory.GetModuleInfo("WireSequenceComponentSolver", "!{0} cut 7 [cut wire 7] | !{0} down, !{0} d [next stage] | !{0} up, !{0} u [previous stage] | !{0} cut 7 8 9 d [cut multiple wires and continue] | Use the numbers shown on the module", "Wire Sequence");
 }
コード例 #2
0
 public WireSequenceComponentSolver(BombCommander bombCommander, WireSequenceComponent bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller) :
     base(bombCommander, bombComponent, ircConnection, canceller)
 {
     _wireSequence = (List <WireSequenceComponent.WireConfiguration>)_wireSequenceField.GetValue(bombComponent);
     _upButton     = bombComponent.UpButton;
     _downButton   = bombComponent.DownButton;
     modInfo       = ComponentSolverFactory.GetModuleInfo("WireSequenceComponentSolver");
 }