public RunnerWrapper( string filePath, EngineReference engineRef, IDisplayTarget displayTarget, ITextureFactory textureFactory, IInputFactory inputFactory) { this.filePath = filePath; this.engineRef = engineRef; this.displayTarget = displayTarget; this.inputFactory = inputFactory; this.runner = new Runner(textureFactory); }
/// <summary> /// The PixelVisionEngine constructor requires a render target and an /// optional list of <paramref name="chips" /> to be properly configured. /// </summary> /// <param name="displayTarget"></param> /// <param name="inputFactory1"></param> /// <param name="chips"></param> /// <param name="name"></param> /// <tocexclude /> public PixelVisionEngine(IDisplayTarget displayTarget, IInputFactory inputFactory, string[] chips = null, string name = "Engine") { this.displayTarget = displayTarget; this.inputFactory = inputFactory; if (chips != null) { defaultChips = chips; } this.name = name; Init(); }