private void CheckSprites()
        {
            if (Velocity.X < 0 || Velocity.X > 0)
            {
                type = AnimatieTypes.Run;
            }
            else
            {
                type = AnimatieTypes.Idle;
            }

            if (IsAttacking && !HasAttacked)
            {
                type = AnimatieTypes.Attack;
            }
            else if (!IsAttacking && HasAttacked)
            {
                HasAttacked = false;
            }

            if (Velocity.Y < 0)
            {
                type = AnimatieTypes.Jump;
            }
            if (Velocity.Y - 0.2f > 0)
            {
                type = AnimatieTypes.Fall;
            }
            CheckAttack();
            CheckType();
        }
        private void CheckSprites()
        {
            animatieType = AnimatieTypes.Idle;

            if (IsCollected)
            {
                animatieType = AnimatieTypes.Hit;
            }

            CheckType();
        }
 private void CheckAttack()
 {
     if (IsHit)
     {
         type = AnimatieTypes.Hit;
     }
     if (Hearts <= 0)
     {
         type = AnimatieTypes.Dead;
     }
 }
        protected virtual void CheckSprites()
        {
            if (Velocity.X < 0 || Velocity.X > 0)
            {
                type = AnimatieTypes.Run;
            }
            else
            {
                type = AnimatieTypes.Idle;
            }

            if (Velocity.Y + 0.2f < 0)
            {
                type = AnimatieTypes.Jump;
            }
            if (Velocity.Y - 0.2f > 0)
            {
                type = AnimatieTypes.Fall;
            }

            CheckType();
        }
        private void CheckSprites()
        {
            type = AnimatieTypes.Idle;

            CheckType();
        }