private void nextTexture() {
        if (animationType == EnumAnimationType.ONEWAY_RENDERED) {
            if ((currentTexture + 1) < textures.length) {
                currentTexture++;
            } else {
                currentTexture = 0;
            }
        } else if (animationType == EnumAnimationType.TWOWAY_RENDERED) {
            if (currentTexture <= 0 || !(currentTexture >= (textures.length - 1)) && canIncrase) {
                currentTexture++;
            } else {
                canIncrase = false;
                currentTexture--;
                if (currentTexture <= 0) {
                    canIncrase = true;
                }
            }
        } else if (animationType == EnumAnimationType.FONT_RENDERED) {
            if ((currentTexture + 1) < textures.length) {
                currentTexture++;
            } else {
                currentTexture = 0;
            }
        }
    }