public Player(KinectContext context, SkeletonPlayerAssignment assignment) { this.Context = context; this.SkeletonAssignment = assignment; LeftHand = new PlayerHand(this, JointType.HandLeft); RightHand = new PlayerHand(this, JointType.HandRight); DrawHands = false; }
public Player(KinectContext context, SkeletonPlayerAssignment assignment) { this.Context = context; this.SkeletonAssignment = assignment; //LeftHand = new PlayerHand(this); RightHand = new PlayerHand(this); DrawHands = true; }
public SkeletonRenderer(KinectContext context) { Context = context; }
protected override void Initialize() { Assets.LoadContent(Content); kinectContext = new KinectContext(graphics.GraphicsDevice); kinectContext.Initialize(); ScreenManager = new ScreenManager(this); var splash = new SplashScreen(kinectContext, Assets.SplashLogo, 2.0f); ScreenManager.AddScreen(splash); ScreenManager.Actions.AddAction(new WaitForCondition(delegate() { return splash.TweenerFinished; }), true); ScreenManager.Actions.AddAction(new CallFunction(delegate() { ScreenManager.SwitchScreen(new MenuScreen(kinectContext)); }), true); debugComponent = new DebugComponent(this); //createHighscoreDirectories(); base.Initialize(); }