// 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.Image;
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 MainLayer extends Table {

    public MainLayer(final Gui gui) {
        super();
        setFillParent(true);
        setY(0);
        Image logo = new Image(gui.getSkin().getRegion("logo"));
        add(logo);
        row().padTop(75.f);

        // Start button
        TextButton bt = new TextButton("Play", gui.getSkin());
        // Show level selection Layer
        bt.addListener(new ChangeListener() {
            @Override
            public void changed(ChangeEvent event, Actor actor) {
                // Get movement direction
                int direction = 720;
// Path: core/src/com/alexaut/kroniax/menu/Gui.java
// public enum Layer {
//     MAIN, LEVEL_SELECTION, SETTINGS, CREDITS
// }


// Path: core/src/com/alexaut/kroniax/menu/MainLayer.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.Image;
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 MainLayer extends Table {

    public MainLayer(final Gui gui) {
        super();
        setFillParent(true);
        setY(0);
        Image logo = new Image(gui.getSkin().getRegion("logo"));
        add(logo);
        row().padTop(75.f);

        // Start button
        TextButton bt = new TextButton("Play", gui.getSkin());
        // Show level selection Layer
        bt.addListener(new ChangeListener() {
            @Override
            public void changed(ChangeEvent event, Actor actor) {
                // Get movement direction
                int direction = 720;
                if (gui.getLayer(Layer.LEVEL_SELECTION).getY() > 0)