/// <summary>
        /// Allows the game to perform any initialization it needs to before starting to run.
        /// This is where it can query for any required services and load any non-graphic
        /// related content.  Calling base.Initialize will enumerate through any components
        /// and initialize them as well.
        /// </summary>
        protected override void Initialize()
        {
            _kinectRuntime = Runtime.Kinects[0];
            _kinectRuntime.Initialize(RuntimeOptions.UseSkeletalTracking);

            _tracker = new MovementTracker(_kinectRuntime);

            // Create a new SpriteBatch, which can be used to draw textures.
            SpriteBatch = new SpriteBatch(GraphicsDevice);

            _hammer = new Hammer(this, _tracker);
            Components.Add(_hammer);

            base.Initialize();
        }
        public KinectMouse(Game game, MovementTracker tracker, JointID mouseJoint) : base(game)
        {
            _tracker = tracker;

            _tracker.AddMovementHandler(MovementType.Any, 0f, HandleMouseEvent, mouseJoint);
        }
 public Hammer(KinectAMoleGame game, MovementTracker movementTracker)
     : base(game)
 {
     _spriteBatch = game.SpriteBatch;
     _movementTracker = movementTracker;
 }