title: How to compare the textures in LibGdx
body: <p>I am using LibGdx for my game. In the below method I am passing the RED_BALL but the method is not returning true. I want to know if the texture comparision is possible. if so what is the best approach.</p>
  
  <pre><code>private boolean isSqueezableBalls(Texture t) {
      if(t.equals(RED_BALL) || 
              t.equals(BLUE_BALL) || 
                  t.equals(GREEN_BALL)){ 
          return true;
      }
      return false; 
  }
  </code></pre>