public Atlas(SmartTexture tx) { this.tx = tx; tx.atlas = this; namedFrames = new HashMap<Object, RectF>(); }