示例#1
0
 public void Run()
 {
     _foregroundListener  = (TestForegroundListener)Env.ForegroundListener;
     _comboHook           = new ComboHook();
     _comboRelay          = new ComboRelay(Env.ModeHook, _comboHook);
     _inputHook           = new InputHook(_comboRelay);
     _inputRelay          = new InputRelay(_inputHook);
     _primaryHook         = new TestPrimaryHook(_inputRelay);
     _primaryHookInjector = new TestInjector(_primaryHook);
     Env.AddActor(new MiscActor());
     Env.Parser.UpdateHotkeyFile(new HotkeyFile(nameof(TestBrain), Helper.RemoveCarriageReturns(Resources.Tests)));
 }