<commit_before>package de.sopa.scene.levelmode;

import org.andengine.entity.scene.IOnSceneTouchListener;
import org.andengine.entity.scene.Scene;
import org.andengine.entity.sprite.Sprite;
import org.andengine.entity.text.Text;
import org.andengine.input.touch.TouchEvent;

/**
 * @author <NAME> - <EMAIL>
 */
public class LevelModeCompleteScene extends de.sopa.scene.BaseScene {
    public LevelModeCompleteScene() {
        Text levelCompleteTextShape = new Text((float) (camera.getWidth() * 0.05), (float) (camera.getHeight() * 0.05),
                resourcesManager.levelModeCompleteFont, "Level Mode\nCompleted", vbom);
        levelCompleteTextShape.setScaleCenter(0, 0);
        attachChild(levelCompleteTextShape);
        Sprite cup = new Sprite(0, 0, resourcesManager.levelModeCup, vbom);
        cup.setPosition(camera.getWidth() / 2 - cup.getWidth() /2, camera.getHeight() * 0.4f);
        attachChild(cup);
        setOnSceneTouchListener(new IOnSceneTouchListener() {
            @Override
            public boolean onSceneTouchEvent(Scene pScene, TouchEvent pSceneTouchEvent) {
                onBackKeyPressed();
                return false;
            }
        });

    }

    @Override
    public void onBackKeyPressed() {
        storyService.loadLevelChoiceFromLevelModeCompleteScene();
    }

    @Override
    public void disposeScene() {

    }
}<commit_msg>Add confetti to Level Mode Complete Scene<commit_after>package de.sopa.scene.levelmode;

import de.sopa.scene.justplay.ConfettiParticleSystem;
import org.andengine.entity.scene.IOnSceneTouchListener;
import org.andengine.entity.scene.Scene;
import org.andengine.entity.sprite.Sprite;
import org.andengine.entity.text.Text;
import org.andengine.input.touch.TouchEvent;

/**
 * @author <NAME> - <EMAIL>
 */
public class LevelModeCompleteScene extends de.sopa.scene.BaseScene {
    public LevelModeCompleteScene() {
        Text levelCompleteTextShape = new Text((float) (camera.getWidth() * 0.05), (float) (camera.getHeight() * 0.05),
                resourcesManager.levelModeCompleteFont, "Level Mode\nCompleted", vbom);
        levelCompleteTextShape.setScaleCenter(0, 0);
        attachChild(levelCompleteTextShape);
        Sprite cup = new Sprite(0, 0, resourcesManager.levelModeCup, vbom);
        cup.setPosition(camera.getWidth() / 2 - cup.getWidth() /2, camera.getHeight() * 0.4f);
        attachChild(cup);
        attachChild(new ConfettiParticleSystem(vbom, camera.getWidth()));
        setOnSceneTouchListener(new IOnSceneTouchListener() {
            @Override
            public boolean onSceneTouchEvent(Scene pScene, TouchEvent pSceneTouchEvent) {
                onBackKeyPressed();
                return false;
            }
        });

    }

    @Override
    public void onBackKeyPressed() {
        storyService.loadLevelChoiceFromLevelModeCompleteScene();
    }

    @Override
    public void disposeScene() {

    }
}
{'fraction_non_alphanumeric': 0.10853242320819112, 'fraction_numerical': 0.00955631399317406, 'mean_word_length': 3.1931330472103006, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6079595', 'n_tokens_mistral': 880, 'n_tokens_neox': 842, 'n_words': 157}