// Path: core/src/com/alexaut/kroniax/menu/Gui.java
// public enum Layer {
//     MAIN, LEVEL_SELECTION, SETTINGS, CREDITS
// }


import com.alexaut.kroniax.menu.Gui.Layer;
import com.badlogic.gdx.math.Interpolation;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.scenes.scene2d.actions.Actions;
import com.badlogic.gdx.scenes.scene2d.ui.Label;
import com.badlogic.gdx.scenes.scene2d.ui.Table;
import com.badlogic.gdx.scenes.scene2d.ui.TextButton;
import com.badlogic.gdx.scenes.scene2d.utils.ChangeListener;
package com.alexaut.kroniax.menu;


public class CreditsLayer extends Table {

    public CreditsLayer(final Gui gui) {
        super();
        setFillParent(true);
        setPosition(1280, 0);

        Label label = new Label("Programmed by Alexander Weinrauch", gui.getSkin());
        add(label);
        row().padTop(40.f);

        label = new Label("Special thanks to the creator of LibGDX", gui.getSkin());
        add(label);
        row();
        label = new Label("Mario Zechner!", gui.getSkin());
        add(label);

        row().padTop(40.f);
        label = new Label("Music created by MafiaFlairBeats", gui.getSkin());
        add(label);
        
        row().padTop(40.f);
        label = new Label("Thanks to Micheal Goessler and Stefan Papst for playtesting", gui.getSkin());
        add(label);

        row().padTop(100.f);
        // Back button, add credits above!
        TextButton bt = new TextButton("Back", gui.getSkin());
        bt.addListener(new ChangeListener() {

            @Override
            public void changed(ChangeEvent event, Actor actor) {
                int direction = 1280;
// Path: core/src/com/alexaut/kroniax/menu/Gui.java
// public enum Layer {
//     MAIN, LEVEL_SELECTION, SETTINGS, CREDITS
// }


// Path: core/src/com/alexaut/kroniax/menu/CreditsLayer.java
import com.alexaut.kroniax.menu.Gui.Layer;
import com.badlogic.gdx.math.Interpolation;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.scenes.scene2d.actions.Actions;
import com.badlogic.gdx.scenes.scene2d.ui.Label;
import com.badlogic.gdx.scenes.scene2d.ui.Table;
import com.badlogic.gdx.scenes.scene2d.ui.TextButton;
import com.badlogic.gdx.scenes.scene2d.utils.ChangeListener;

package com.alexaut.kroniax.menu;


public class CreditsLayer extends Table {

    public CreditsLayer(final Gui gui) {
        super();
        setFillParent(true);
        setPosition(1280, 0);

        Label label = new Label("Programmed by Alexander Weinrauch", gui.getSkin());
        add(label);
        row().padTop(40.f);

        label = new Label("Special thanks to the creator of LibGDX", gui.getSkin());
        add(label);
        row();
        label = new Label("Mario Zechner!", gui.getSkin());
        add(label);

        row().padTop(40.f);
        label = new Label("Music created by MafiaFlairBeats", gui.getSkin());
        add(label);
        
        row().padTop(40.f);
        label = new Label("Thanks to Micheal Goessler and Stefan Papst for playtesting", gui.getSkin());
        add(label);

        row().padTop(100.f);
        // Back button, add credits above!
        TextButton bt = new TextButton("Back", gui.getSkin());
        bt.addListener(new ChangeListener() {

            @Override
            public void changed(ChangeEvent event, Actor actor) {
                int direction = 1280;
                if (gui.getLayer(Layer.MAIN).getX() > 0)