public void Initialize(IEnumerable <string> addOnChips = null) { var chips = new[] { typeof(ColorChip).FullName, typeof(SpriteChip).FullName, typeof(TilemapChip).FullName, typeof(FontChip).FullName, typeof(ControllerChip).FullName, typeof(DisplayChip).FullName, typeof(ControllerChip).FullName, typeof(LuaGameChip).FullName, typeof(MusicChip).FullName, typeof(SfxrSoundChip).FullName, }; if (addOnChips != null) { chips.Concat(addOnChips); } engineRef.Engine = new PixelVisionEngine(displayTarget, inputFactory, chips); engineRef.Engine.chipManager.AddService(typeof(LuaService).FullName, new LuaService()); LoadGame(); runner.ActivateEngine(engineRef.Engine); }