Exemplo n.º 1
0
        public void YogUI_UpdateTest()
        {
            GameTime time = null; // TODO: Initialize to an appropriate value

            YogUI.YogUI_Update(time);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
Exemplo n.º 2
0
 /// <summary>
 /// Allows the game to run logic such as updating the world,
 /// checking for collisions, gathering input, and playing audio.
 /// </summary>
 /// <param name="gameTime">Provides a snapshot of timing values.</param>
 protected override void Update(GameTime gameTime)
 {
     //Update all of our UIComponents.
     YogUI.YogUI_Update(gameTime);
     textField.Update(gameTime);
     filterTextField.Update(gameTime);
     listBox.Update(gameTime);
     progressBar.Update(gameTime);
     sliderBar.Update(gameTime);
     radioButton1.Update(gameTime);
     radioButton2.Update(gameTime);
     checkBox.Update(gameTime);
     comboBox.Update(gameTime);
     button.Update(gameTime);
     button.SetText(textField.GetText());
     base.Update(gameTime);
 }
Exemplo n.º 3
0
        /// <summary>
        /// Allows the game to run logic such as updating the world,
        /// checking for collisions, gathering input, and playing audio.
        /// </summary>
        /// <param name="gameTime">Provides a snapshot of timing values.</param>
        protected override void Update(GameTime gameTime)
        {
            YogUI.YogUI_Update(gameTime);

            loadNinepatch.Update(gameTime);
            saveNinepatchAs.Update(gameTime);

            xStart.Update(gameTime);
            xEnd.Update(gameTime);
            yStart.Update(gameTime);
            yEnd.Update(gameTime);
            refreshNinepatch.Update(gameTime);
            patchScale.Update(gameTime);
            scaleX.Update(gameTime);
            scaleY.Update(gameTime);
            scaleXY.Update(gameTime);
            drawContent.Update(gameTime);


            base.Update(gameTime);
        }