Update() private method

private Update ( ) : void
return void
Exemplo n.º 1
0
        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);
        }