Example #1
0
        public static void Start(GraphicsDisplay cameraView)
        {
            FrameCounter.Init();
            MessageManager.Init();
            initGraphics(cameraView);
            initEnvironment();
            Thread graphicsThread = new Thread(new ThreadStart(update));

            graphicsThread.SetApartmentState(ApartmentState.STA);
            graphicsThread.Start();
        }
 public GraphicsHandler(GraphicsDisplay cameraView)
 {
     this.cameraView = cameraView;
 }
Example #3
0
 private static void initGraphics(GraphicsDisplay cameraView)
 {
     graphicsHandler = new GraphicsHandler(cameraView);
     cameraMode      = false;
     Cameras         = new List <Camera>();
 }