Пример #1
0
        public void GetValuesTest()
        {
            RampDialog target   = new RampDialog(); // TODO: Initialize to an appropriate value
            RampInfo   expected = new RampInfo();   // TODO: Initialize to an appropriate value
            RampInfo   actual;

            actual = target.GetValues();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Пример #2
0
 public void AddToScene(RampInfo info)
 {
     mapPosition          = info.mapPosition;
     length               = 70;
     maxHeight            = 48;
     width                = 21 + (Constants.TILE_SIZE * ((float)info.width));
     leapLengthAdjustment = -1.0f;
     for (int i = 0; i < Constants.MAX_PLAYERS; i++)
     {
         playerHasPassed[i]    = false;
         playerHasPassedEnd[i] = false;
     }
 }