MoodSwingGame.MSFundraiser.Update C# (CSharp) Method

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void
        public override void Update(GameTime gameTime)
        {
            base.Update(gameTime);
            if (fundraiseCounter++ > FUNDRAISING_DIFFICULTY)
            {
                resourceManager.Funds++;
                fundraiseCounter = 0;
            }
        }