Example #1
0
        public override Screen Update(GameTime gameTime)
        {
            UpdateGameTime(gameTime);

            _ecs.UpdateSystems(_internalGameTime);
            _camera.Update(_internalGameTime);
            return(this);
        }
Example #2
0
        public override Screen Update(GameTime gameTime)
        {
            UpdateGameTime(gameTime);

            _ecs.UpdateSystems(_internalGameTime);
            _camera.Update(_internalGameTime);

            if (_currentLevelTracker.ReadyForRestart)
            {
                LoadContent();
            }
            return(this);
        }