title: 2D Java Game Programming Animation Issue
body: <p>I'm working on a Swimming animation. When the player collides with the <code>waterTile</code>, the swimming animation does not play when the Player goes left (lt) and when the player goes right (rt), the up animation plays.</p>
  
  <p>Here is the Render method from <code>Player.java</code>:
  -EDITED-</p>
  
  <pre><code>if (isSwimming){
          if (up) {
              swimUp.render(g, x, y, Game.TILESIZE * Game.SCALE, Game.TILESIZE * Game.SCALE);
          } 
          if (dn){
              swimDown.render(g, x, y, Game.TILESIZE * Game.SCALE, Game.TILESIZE * Game.SCALE);
          }
          if (rt){
              swimRight.render(g, x, y, Game.TILESIZE * Game.SCALE, Game.TILESIZE * Game.SCALE);
          }
          if (lt){
              swimLeft.render(g, x, y, Game.TILESIZE * Game.SCALE, Game.TILESIZE * Game.SCALE);
          }
      }       
   if (!isSwimming){
          if(up){
              upAnimation.render(g, x, y, Game.TILESIZE * Game.SCALE, Game.TILESIZE * Game.SCALE);
          } 
          if (dn){
              downAnimation.render(g, x, y, Game.TILESIZE * Game.SCALE, Game.TILESIZE * Game.SCALE);
          }
          if (rt){
              rightAnimation.render(g, x, y, Game.TILESIZE * Game.SCALE, Game.TILESIZE * Game.SCALE);
          }
          if (lt){
              leftAnimation.render(g, x, y, Game.TILESIZE * Game.SCALE, Game.TILESIZE * Game.SCALE);
          } else
              idle.render(g, x, y, Game.TILESIZE * Game.SCALE, Game.TILESIZE * Game.SCALE);
  
  }
  </code></pre>
  
  <p>Also, it may be worth noting that there are no errors being displayed.</p>