public void Update(GameTime gameTime) { passedSeconds += gameTime.ElapsedGameTime.TotalMilliseconds / 1000.0; if (passedSeconds >= 1) { TimeRemaining--; passedSeconds--; } if (Peach.Location.X < 850) { Peach.Sprite.SwitchAnimation(1, 4); Peach.Location += new Vector2(5, Constants.ZERO); } else { Peach.Sprite.SwitchAnimation(Constants.ZERO, 6); } Peach.Update(gameTime); LogoSprite.Update(gameTime); }