Esempio n. 1
0
        public static void Update(GameTime gameTime)
        {
            coin.Update();

            Time = Time.Subtract(gameTime.ElapsedGameTime);

            if ((int)Time.TotalSeconds == 0)
            {
                // need to end the game if he runs out of time
            }
        }