public Rect(TextureLocation texture) {
      this.texture = texture;

      Rectangle rect = texture.getTextureRect();
      this.longestEdge = Math.min(rect.width, rect.height);
      this.area = rect.width * rect.height;
    }
 public void place(float x, float y) {
   texture.getTextureRect().x = x;
   texture.getTextureRect().y = y;
   placed = true;
 }