private void CheckType()
 {
     foreach (var sprites in sprites)
     {
         if (sprites.Key == animatieType)
         {
             currentSprite = sprites.Value;
         }
     }
 }
 protected void CheckType()
 {
     foreach (var sprites in sprites)
     {
         if (sprites.Key == type)
         {
             currentSprite = sprites.Value;
         }
     }
 }
 private void CheckType()
 {
     foreach (var sprites in sprites)
     {
         if (sprites.Key == type)
         {
             currentSprite = sprites.Value;
         }
         else
         {
             sprites.Value.AnimatieL.Counter = 0;
             sprites.Value.AnimatieR.Counter = 0;
         }
     }
 }