Exemplo n.º 1
0
 public Sandstorm(SandstormEditor editor, SandstormBeamer beamer, Kinect kinectSytem)
 {
     _kinectSystem = kinectSytem;
     _editor = editor;
     _beamer = beamer;
     Mouse.WindowHandle = _editor.Handle;
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
 }
Exemplo n.º 2
0
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            SandstormEditor editor = new SandstormEditor();
            editor.Disposed += new EventHandler(form_Disposed);

            SandstormBeamer beamer = new SandstormBeamer();
            beamer.Disposed += new EventHandler(form_Disposed);

            kinectSystem = new Kinect();

            using (game = new Sandstorm(editor, beamer, kinectSystem))
            {
                game.Run();
            }
        }