public override void Initialize()
 {
     showAvatar = true;
     button = new Button();
     hand = new HandCursor();
     hand.Initialize(ScreenManager.Kinect);
     button.Initialize("Buttons/OK", this.ScreenManager.Kinect, new Vector2(620, 500));
     button.Clicked += new Button.ClickedEventHandler(button_Clicked);
     avatars = new Texture2D[4];
     base.Initialize();
 }
        public override void Initialize()
        {
            showAvatar = true;
            newGame = new Button();
            instructions = new Button();
            highscores = new Button();
            exit = new Button();
            Hand = new HandCursor();
            kinect = ScreenManager.Kinect;
            Hand.Initialize(ScreenManager.Kinect);
            newGame.Clicked += new Button.ClickedEventHandler(newGame_Clicked);
            instructions.Clicked += new Button.ClickedEventHandler(instructions_Clicked);
            highscores.Clicked += new Button.ClickedEventHandler(highscores_Clicked);
            exit.Clicked += new Button.ClickedEventHandler(exit_Clicked);

            base.Initialize();
        }
 public override void Initialize()
 {
     showAvatar = true;
     virusBar = new Bar(100, 950, 15, 270, 30);
     rightSwordBounds = new Rectangle(0, 400, 80, 80);
     leftSwordBounds = new Rectangle(1350, 400, 80, 80);
     shields = new Texture2D[4];
     shieldBounds = new Rectangle[4];
     shieldBounds[0] = new Rectangle(590, -80, 80, 80);
     shieldBounds[2] = new Rectangle(590, 720, 80, 80);
     shieldBounds[1] = new Rectangle(-90, 500, 80, 80);
     shieldBounds[3] = new Rectangle(1304, 500, 80, 80);
     cam = new Camera2D(ScreenManager);
     cam.Initialize();
     cam.Focus = new Vector2(640, 360);
     cam.Position = new Vector2(500.0f, 200.0f);
     button = new Button();
     hand = new HandCursor();
     hand.Initialize(ScreenManager.Kinect);
     button.Initialize("Buttons/OK", this.ScreenManager.Kinect, new Vector2(820, 100));
     button.Clicked += new Button.ClickedEventHandler(button_Clicked);
     base.Initialize();
 }