<commit_before>package de.tu_darmstadt.gdi1.gorillas.main;

import de.tu_darmstadt.gdi1.gorillas.utils.Database;

import java.util.ArrayList;
import java.util.List;

/**
 * Singleton Class, that contains all globals.
 * The reason for using a Singleton instead of a static class, are possible serialization
 * The reason for using this vs, Gorrillas is the different GameContainers
 * (special TestGameContainer)
 */
public class Game {
    /** State Definitions */
    public static final int MAINMENUSTATE   = 0;
    public static final int GAMESETUPSTATE  = 1;
    public static final int GAMEPLAYSTATE   = 2;
    public static final int HIGHSCORESTATE  = 3;
    public static final int OPTIONSTATE     = 4;
    public static final int TUTORIALSTATE   = 5;
    public static final int INGAMEPAUSE     = 6;
    public static final int HELPSTATE       = 7;
    public static final int GAMEVICTORY     = 8;

    // Constants
    public static       float SUN_FROM_TOP = 60;

    public static final float GRAVITY_MIN = 0;
    public static final float GRAVITY_MAX = 24.79f;
    public static final float GRAVITY_DEFAULT = 9.80665f;
    public static final int   MAX_NAMESIZE = 12;
    public static final float SOUND_VOLUME_MIN = 0;
    public static final float SOUND_VOLUME_MAX = 1f;
    public static final float SOUND_VOLUME_DEFAULT = 0.2f;
    public static final int   ANGLE_MIN = 0;
    public static final int   ANGLE_MAX = 360;
    public static       int   ANGLE_DEFAULT = 60;
    public static final int   SPEED_MIN = 0;
    public static final int   SPEED_MAX = 200;
    public static       int   SPEED_DEFAULT = 80;

    // Switches
    private boolean testmode = true;   // Graphically debug
    private boolean debug = true;       // Debug outputs<commit_msg>testmode not to true by default<commit_after>package de.tu_darmstadt.gdi1.gorillas.main;

import de.tu_darmstadt.gdi1.gorillas.utils.Database;

import java.util.ArrayList;
import java.util.List;

/**
 * Singleton Class, that contains all globals.
 * The reason for using a Singleton instead of a static class, are possible serialization
 * The reason for using this vs, Gorrillas is the different GameContainers
 * (special TestGameContainer)
 */
public class Game {
    /** State Definitions */
    public static final int MAINMENUSTATE   = 0;
    public static final int GAMESETUPSTATE  = 1;
    public static final int GAMEPLAYSTATE   = 2;
    public static final int HIGHSCORESTATE  = 3;
    public static final int OPTIONSTATE     = 4;
    public static final int TUTORIALSTATE   = 5;
    public static final int INGAMEPAUSE     = 6;
    public static final int HELPSTATE       = 7;
    public static final int GAMEVICTORY     = 8;

    // Constants
    public static       float SUN_FROM_TOP = 60;

    public static final float GRAVITY_MIN = 0;
    public static final float GRAVITY_MAX = 24.79f;
    public static final float GRAVITY_DEFAULT = 9.80665f;
    public static final int   MAX_NAMESIZE = 12;
    public static final float SOUND_VOLUME_MIN = 0;
    public static final float SOUND_VOLUME_MAX = 1f;
    public static final float SOUND_VOLUME_DEFAULT = 0.2f;
    public static final int   ANGLE_MIN = 0;
    public static final int   ANGLE_MAX = 360;
    public static       int   ANGLE_DEFAULT = 60;
    public static final int   SPEED_MIN = 0;
    public static final int   SPEED_MAX = 200;
    public static       int   SPEED_DEFAULT = 80;

    // Switches
    private boolean testmode = false;   // Graphically debug
    private boolean debug = true;       // Debug outputs
{'fraction_non_alphanumeric': 0.057190916736753576, 'fraction_numerical': 0.023549201009251473, 'mean_word_length': 2.938189845474614, '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': '364409', 'n_tokens_mistral': 1145, 'n_tokens_neox': 1056, 'n_words': 394}