public bool AddAnimation(string name, SpriteAnimation animation)
        {
            if (_animations.ContainsKey(name))
                return false;

            _animations.Add(name, animation);

            return true;
        }
        public bool SetCurrentAnimation(string name)
        {
            if (!_animations.ContainsKey(name))
                return false;

            _currentAnimation = _animations[name];
            _currentAnimation.IsActive = true;

            Origin = _currentAnimation.Origin;

            return true;
        }