<commit_before>package com.github.dreamsnatcher.screens;

import com.badlogic.gdx.Application;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.badlogic.gdx.scenes.scene2d.ui.*;
import com.badlogic.gdx.scenes.scene2d.utils.ClickListener;
import com.badlogic.gdx.scenes.scene2d.utils.TextureRegionDrawable;
import com.badlogic.gdx.utils.Align;

public class MainMenuScreen extends com.github.dreamsnatcher.screens.Screen {

    private Stage stage;
    private Table table;
    private Skin skin;

    public MainMenuScreen(ScreenManager manager) {
        super(manager);
        initUI();
    }


    private void initUI() {
        skin = new Skin(Gdx.files.internal("editor/uiskin.json"));
        stage = new Stage();
        table = new Table();
        table.row();


        TextButton button = new TextButton("Editor", skin);
        if (Gdx.app.getType() == Application.ApplicationType.Desktop) {

            button.addListener(new ClickListener() {
                @Override
                public void clicked(InputEvent event, float x, float y) {
                    manager.setScreen(new EditorScreen(manager));
                }
            });

            table.add(button).size(150, 60).pad(10);
        }

        button = new TextButton("Play", skin);
        button.setColor(Color.GREEN);
        button.addListener(new ClickListener() {
            @Override
            public void clicked(InputEvent event, float x, float y) {
                //Same way we moved here from the Splash Screen
                //We set it to new Splash because we got no other screens
                //otherwise you put the screen there where you want to go
                manager.setScreen(new LevelsScreen(manager));<commit_msg>resize test<commit_after>package com.github.dreamsnatcher.screens;

import com.badlogic.gdx.Application;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
import com.badlogic.gdx.scenes.scene2d.ui.Table;
import com.badlogic.gdx.scenes.scene2d.ui.TextButton;
import com.badlogic.gdx.scenes.scene2d.utils.ClickListener;
import com.badlogic.gdx.scenes.scene2d.utils.TextureRegionDrawable;

public class MainMenuScreen extends com.github.dreamsnatcher.screens.Screen {

    private Stage stage;
    private Table table;
    private Skin skin;

    public MainMenuScreen(ScreenManager manager) {
        super(manager);
        initUI();
    }


    private void initUI() {
        skin = new Skin(Gdx.files.internal("editor/uiskin.json"));
        stage = new Stage();
        table = new Table();
        table.setFillParent(true);
        table.row();


        TextButton button = new TextButton("Editor", skin);
        if (Gdx.app.getType() == Application.ApplicationType.Desktop) {

            button.addListener(new ClickListener() {
                @Override
                public void clicked(InputEvent event, float x, float y) {
                    manager.setScreen(new EditorScreen(manager));
                }
            });

            table.add(button).size(150, 60).pad(10);
        }

        button = new TextButton("Play", skin);
        button.setColor(Color.GREEN);
        button.addListener(new ClickListener() {
            @Override
            public void clicked(InputEvent event, float x, float y) {
                //Same way we moved here from the Splash Screen
                //We set it to new Splash because we got no other screens
                //otherwise you put the screen there where you want to go
                manager.setScreen(new LevelsScreen(manager));
{'fraction_non_alphanumeric': 0.1041069723018147, 'fraction_numerical': 0.008118433619866285, 'mean_word_length': 2.6426086956521737, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2141262', 'n_tokens_mistral': 1295, 'n_tokens_neox': 1207, 'n_words': 269}