Esempio n. 1
0
 public EmuClientApi(Action <string> logCallback, IMainFormForApi mainForm, DisplayManagerBase displayManager, Config config, IEmulator emulator, IGameInfo game)
 {
     _config         = config;
     _displayManager = displayManager;
     Emulator        = emulator;
     Game            = game;
     _logCallback    = logCallback;
     _mainForm       = mainForm;
     VideoProvider   = Emulator.AsVideoProviderOrDefault();
 }
Esempio n. 2
0
 public InputApi(DisplayManagerBase displayManager, InputManager inputManager)
 {
     _displayManager = displayManager;
     _inputManager   = inputManager;
 }