示例#1
0
 public void Update(TimeSpan elapsed)
 {
     _scalingObject.Update(elapsed);
     PopupObject.Update(elapsed);
     DrawingInfos.Position     = PopupObject.Position;
     DrawingInfos.OverlayColor = PopupObject.OverlayColor;
     DrawingInfos.Scale        = _scalingObject.Scale;
 }
示例#2
0
        public void Update(TimeSpan elapsed)
        {
            _titleScalingObject.Update(elapsed);
            _titleDrawingInfos.Scale = _titleScalingObject.Scale;

            if (_currentTextId < _nTexts)
            {
                _scoreInfos[_currentTextId].TextDrawingInfos.OverlayColor = _fadeObject.OverlayColor;
                _fadeObject.Update(elapsed);
            }

            foreach (var text in _scoreInfos)
            {
                text.Update(elapsed);
            }
        }
示例#3
0
        public void Update(TimeSpan elapsed)
        {
            _titleScalingObject.Update(elapsed);
            _titleDrawingInfos.Scale = _titleScalingObject.Scale;

            _playScalingObject.Update(elapsed);
            _playDrawingInfos.Scale = _playScalingObject.Scale;

            _fartScalingObject.Update(elapsed);
            _fartDrawingInfos.Scale = _fartScalingObject.Scale;

            _scoreScalingObject.Update(elapsed);
            _scoreDrawingInfos.Scale = _scoreScalingObject.Scale;

            _aboutScalingObject.Update(elapsed);
            _aboutDrawingInfos.Scale = _aboutScalingObject.Scale;
        }
示例#4
0
 public void Update(TimeSpan elapsed)
 {
     _recordScalingObject.Update(elapsed);
     RecordTextDrawingInfos.Scale = _recordScalingObject.Scale;
 }
示例#5
0
 public void Update(TimeSpan elapsed)
 {
     _scalingObject.Update(elapsed);
     _drawingInfos.Scale = _scalingObject.Scale;
 }