Exemple #1
0
        public void Tick_CurrentTickLow_IncreasesCurrentTick()
        {
            _animatedComponent.CurrentAnimation.CurrentTick = 0;
            _stopwatch.ElapsedMilliseconds.Returns(AnimationSystem.TICK_LENGTH);

            _animationSystem.Tick();

            _animatedComponent.CurrentAnimation.CurrentTick.Should().Be(1);
        }