1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using bbiwarg.Graphics;
- using bbiwarg.InputProviders;
- namespace bbiwarg
- {
- class MainBBIWARG
- {
- static void Main(string[] args)
- {
- //InputProvider inputProvider = new InputProvider();
- InputProvider inputProvider = new VideoInputProvider("..\\..\\videos\\touch\\4.skv");
- inputProvider.initialize();
- InputHandler inputHandler = new InputHandler(inputProvider);
- if (Constants.OutputEnabled)
- {
- OutputWindow outputWindow = new OutputWindow(inputProvider, inputHandler);
- outputWindow.Run(Constants.OutputFrameRate);
- }
- else
- throw new NotImplementedException("non-video mode not supported yet");
- }
- }
- }
|