public Tutorial(DaVinciExhibit stateMachine)
        {
            this.stateMachine = stateMachine;

            stopwatch = new Stopwatch();
            start();
        }
Пример #2
0
 static void Main(string[] args)
 {
     using (DaVinciExhibit game = new DaVinciExhibit())
     {
         game.Run(); // Our first mistake.
     }
 }
        public SpawnTutorial(DaVinciExhibit stateMachine)
            : base(stateMachine)
        {
            ghostSkeleton = new SkeletonWrapper();

            ghostSkeleton.setHeadJoint(-.2, .4, 2.0);
            ghostSkeleton.setRightShoulderJoint(-.08, .105, 2.0);
            ghostSkeleton.setLeftShoulderJoint(-.350, .095, 2.0);
            ghostSkeleton.setRightFootJoint(-.005, -.905, 1.550);
            ghostSkeleton.setLeftFootJoint(-.325, -.927, 1.550);
            ghostSkeleton.setRightHandJoint(.25, .1, 2.0);
            ghostSkeleton.setLeftHandJoint(-.25, .1, 2.0);
        }