Exemplo n.º 1
0
        public void Update(GameTime gameTime, out bool exit)
        {
            exit = false;
            if (timey.CheckTime() == false)
            {
                score = score * 5 / 1000;
                exit  = true;
                return;
            }


            UpdateMouse();

            // TODO: Add your update logic here
            //Update the scrolling backround. You can scroll to the left or to the right by changing the scroll direction
            mScrollingBackground.Update(gameTime, 160, HorizontallyScrollingBackground.HorizontalScrollDirection.Left);
        }