Update() 개인적인 메소드

private Update ( ) : void
리턴 void
예제 #1
0
파일: GameLevel1.cs 프로젝트: grzdrz/gms
        public override void Update(GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen)
        {
            base.Update(gameTime, otherScreenHasFocus, coveredByOtherScreen);

            foreach (var b in _blocks)
            {
                b.Update(this._fixedMouseJoint);
            }

            _silhouette.Update();


            if (IsGameEnd)
            {
                ScreenOfFinalBuilding();
            }

            restartButton.Update(gameTime, otherScreenHasFocus, coveredByOtherScreen);
        }