setNeedsRefresh(true);
    public void setTexture(Texture texture) {        if(this.texture.size() == 0) {            this.texture.add(texture);        } else {            this.texture.set(0, texture);        }        resetFirstLast();    }