Example #1
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public GregTest2()
        {
            TransitionOnTime  = TimeSpan.FromSeconds(1.5);
            TransitionOffTime = TimeSpan.FromSeconds(0.5);

            gameCamera = new GameCamera();
        }
Example #2
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public GregTest2()
        {
            TransitionOnTime = TimeSpan.FromSeconds(1.5);
            TransitionOffTime = TimeSpan.FromSeconds(0.5);

            gameCamera = new GameCamera();
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        public JesseTest1()
        {
            TransitionOnTime  = TimeSpan.FromSeconds(1.5);
            TransitionOffTime = TimeSpan.FromSeconds(0.5);

            gameCamera = new GameCamera();
            gravityVec = new Vector3(0, -100, 0);
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        public GregTestFlatPlane()
        {
            TransitionOnTime = TimeSpan.FromSeconds(1.5);
            TransitionOffTime = TimeSpan.FromSeconds(0.5);

            gameCamera = new GameCamera();
            gravityVec = new Vector3(0, -100, 0);
        }
 /// <summary>
 /// Constructor.
 /// </summary>
 public ScottTest2()
 {
     TransitionOnTime = TimeSpan.FromSeconds(1.5);
     TransitionOffTime = TimeSpan.FromSeconds(0.5);
     gameCamera = new GameCamera();
     LevelList = new List<LevelData>();
     score = 0;
 }
Example #6
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public GregTestPlaneWithHoles()
        {
            TransitionOnTime  = TimeSpan.FromSeconds(1.5);
            TransitionOffTime = TimeSpan.FromSeconds(0.5);

            gameCamera = new GameCamera();
            gravityVec = new Vector3(0, -100, 0);
        }
 /// <summary>
 /// Constructor.
 /// </summary>
 public ScottTest2()
 {
     TransitionOnTime  = TimeSpan.FromSeconds(1.5);
     TransitionOffTime = TimeSpan.FromSeconds(0.5);
     gameCamera        = new GameCamera();
     LevelList         = new List <LevelData>();
     score             = 0;
 }
        /// <summary>
        /// Constructor.
        /// </summary>
        public JesseTest1()
        {
            TransitionOnTime = TimeSpan.FromSeconds(1.5);
            TransitionOffTime = TimeSpan.FromSeconds(0.5);

            gameCamera = new GameCamera();
            gravityVec = new Vector3(0, -100, 0);
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        public ScottTest1()
        {
            TransitionOnTime  = TimeSpan.FromSeconds(1.5);
            TransitionOffTime = TimeSpan.FromSeconds(0.5);

            gameCamera           = new GameCamera();
            gravityVec           = new Vector3(0, -100, 0);
            manualCameraRotation = 0f;
        }
Example #10
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public ScottTest1()
        {
            TransitionOnTime = TimeSpan.FromSeconds(1.5);
            TransitionOffTime = TimeSpan.FromSeconds(0.5);

            gameCamera = new GameCamera();
            gravityVec = new Vector3(0, -100, 0);
            manualCameraRotation = 0f;
        }
Example #11
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public GregTestMultiPlanes()
        {
            TransitionOnTime  = TimeSpan.FromSeconds(1.5);
            TransitionOffTime = TimeSpan.FromSeconds(0.5);

            gameCamera           = new GameCamera();
            gravityVec           = new Vector3(0, -100, 0);
            manualCameraRotation = 0f;
            planes = new List <LevelPiece>();
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        public GregTestMultiPlanes()
        {
            TransitionOnTime = TimeSpan.FromSeconds(1.5);
            TransitionOffTime = TimeSpan.FromSeconds(0.5);

            gameCamera = new GameCamera();
            gravityVec = new Vector3(0, -100, 0);
            manualCameraRotation = 0f;
            planes = new List<LevelPiece>();
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        public GameplayMain()
        {
            TransitionOnTime = TimeSpan.FromSeconds(1.5);
            TransitionOffTime = TimeSpan.FromSeconds(0.5);

            gameCamera = new GameCamera();
            //LevelList = new List<LevelData>();
            score = 0;
            dLightColor = new Vector3(.7f, .7f, 0f);
            dLightDirection = Vector3.Normalize(new Vector3(0f, -1f, -(float)Math.Sqrt(2)));
            specularColor = new Vector3(.17f, .10f, .33f);
            AmbientLightColor = Vector3.Normalize(new Vector3(.25f, .25f, 1f));
            manualCameraRotation = 0f;
        }
Example #14
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public GameplayMain()
        {
            TransitionOnTime  = TimeSpan.FromSeconds(1.5);
            TransitionOffTime = TimeSpan.FromSeconds(0.5);

            gameCamera = new GameCamera();
            //LevelList = new List<LevelData>();
            score                = 0;
            dLightColor          = new Vector3(.7f, .7f, 0f);
            dLightDirection      = Vector3.Normalize(new Vector3(0f, -1f, -(float)Math.Sqrt(2)));
            specularColor        = new Vector3(.17f, .10f, .33f);
            AmbientLightColor    = Vector3.Normalize(new Vector3(.25f, .25f, 1f));
            manualCameraRotation = 0f;
        }