Update() private method

private Update ( ) : void
return void
Ejemplo n.º 1
0
        public void UpdateTest()
        {
            Vector2    position = new Vector2();                // TODO: Initialize to an appropriate value
            SpriteFont font     = null;                         // TODO: Initialize to an appropriate value
            CheckBox   target   = new CheckBox(position, font); // TODO: Initialize to an appropriate value
            GameTime   time     = null;                         // TODO: Initialize to an appropriate value

            target.Update(time);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
Ejemplo 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);
 }
Ejemplo 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);
        }