Пример #1
0
        protected override void UpdateInternal(double seconds)
        {
            _xAnimator.Update(seconds);
            _yAnimator.Update(seconds);

            _current.X = _xAnimator.GetCurrent();
            _current.Y = _yAnimator.GetCurrent();
        }
Пример #2
0
        protected override void UpdateInternal(double time)
        {
            _redAnimator.Update(time);
            _greenAnimator.Update(time);
            _blueAnimator.Update(time);
            _alphaAnimator.Update(time);

            _current.R = _redAnimator.GetCurrent();
            _current.G = _greenAnimator.GetCurrent();
            _current.B = _blueAnimator.GetCurrent();
            _current.A = _alphaAnimator.GetCurrent();
        }