示例#1
0
        public void SetAnimation_ChangesAnimationType()
        {
            _animationSystem.SetAnimation(_testObject, AnimationType.Attack);

            _animatedComponent.CurrentAnimation.AnimationType.Should().Be(AnimationType.Attack);
            _animatedComponent.CurrentAnimation.CurrentTick.Should().Be(0);
            _animatedComponent.CurrentAnimation.CurrentFrame.Should().Be(0);
        }