Example #1
0
        public BBNGame()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            gameControler = new BBN_Game.Controller.GameController(this);
        }
        public DebugWindow(Controller.GameController GameController)
        {
            InitializeComponent();
            db = new Helpers.DBHelper();
            attGameController = GameController;

            attks = KinectSensor.GetDefault();
            attks.Open();
            attBodyFrameReader = attks.BodyFrameSource.OpenReader();
            attBodyFrameReader.FrameArrived += this.Reader_BodyFrameArrived;
        }
Example #3
0
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            bool Exit = false;

            while (!Exit)
            {
                Application.DoEvents(); //Now if you call "form.Show()" your form won´t be frozen
                Controller.GameController game = new Controller.GameController();
                game.StartGame();
            }
        }