MoodSwingGame.MSFundraiser.Update C# (CSharp) 메소드

Update() 공개 메소드

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