<commit_before>package com.bitdecay.jump.leveleditor.render;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.InputAdapter;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.GlyphLayout;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
import com.badlogic.gdx.math.Vector3;
import com.bitdecay.jump.BitBody;
import com.bitdecay.jump.BitWorld;
import com.bitdecay.jump.BodyType;
import com.bitdecay.jump.JumperProps;
import com.bitdecay.jump.geom.BitPoint;
import com.bitdecay.jump.geom.BitPointInt;
import com.bitdecay.jump.geom.GeomUtils;
import com.bitdecay.jump.level.*;
import com.bitdecay.jump.leveleditor.input.PlayerInputHandler;
import com.bitdecay.jump.leveleditor.render.mouse.*;
import com.bitdecay.jump.leveleditor.setup.EditorToolbox;
import com.bitdecay.jump.leveleditor.ui.*;

import javax.swing.*;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

public class LevelEditor extends InputAdapter implements Screen, OptionsUICallback, PropModUICallback {

    public static final String EDITOR_ASSETS_FOLDER = "editorAssets";

    private static final int CAM_SPEED = 5;

    static {
        System.out.println(Gdx.files.internal("fonts/test2.fnt").file().getAbsolutePath());
    }
    public BitmapFont font = new BitmapFont(Gdx.files.internal("fonts/test2.fnt"), Gdx.files.internal("fonts/test2.png"), false);

    private String jumpVersion = "Jump v" + BitWorld.VERSION;
    private String renderVersion = "Render v" + BitWorld.VERSION;
    private GlyphLayout jumpVersionGlyphLayout = new GlyphLayout(font, jumpVersion);
    private GlyphLayout renderVersionGlyphLayout = new GlyphLayout(font, jumpVersion);
    private BitPoint jumpSize = new BitPoint(jumpVersionGlyphLayout.width, jumpVersionGlyphLayout.height);
    private BitPoint renderSize = new BitPoint(renderVersionGlyphLayout.width, renderVersionGlyphLayout.height);
<commit_msg>remove static block<commit_after>package com.bitdecay.jump.leveleditor.render;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.InputAdapter;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.GlyphLayout;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
import com.badlogic.gdx.math.Vector3;
import com.bitdecay.jump.BitBody;
import com.bitdecay.jump.BitWorld;
import com.bitdecay.jump.BodyType;
import com.bitdecay.jump.JumperProps;
import com.bitdecay.jump.geom.BitPoint;
import com.bitdecay.jump.geom.BitPointInt;
import com.bitdecay.jump.geom.GeomUtils;
import com.bitdecay.jump.level.*;
import com.bitdecay.jump.leveleditor.input.PlayerInputHandler;
import com.bitdecay.jump.leveleditor.render.mouse.*;
import com.bitdecay.jump.leveleditor.setup.EditorToolbox;
import com.bitdecay.jump.leveleditor.ui.*;

import javax.swing.*;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

public class LevelEditor extends InputAdapter implements Screen, OptionsUICallback, PropModUICallback {

    public static final String EDITOR_ASSETS_FOLDER = "editorAssets";

    private static final int CAM_SPEED = 5;

    public BitmapFont font = new BitmapFont(Gdx.files.internal("fonts/test2.fnt"), Gdx.files.internal("fonts/test2.png"), false);

    private String jumpVersion = "Jump v" + BitWorld.VERSION;
    private String renderVersion = "Render v" + BitWorld.VERSION;
    private GlyphLayout jumpVersionGlyphLayout = new GlyphLayout(font, jumpVersion);
    private GlyphLayout renderVersionGlyphLayout = new GlyphLayout(font, jumpVersion);
    private BitPoint jumpSize = new BitPoint(jumpVersionGlyphLayout.width, jumpVersionGlyphLayout.height);
    private BitPoint renderSize = new BitPoint(renderVersionGlyphLayout.width, renderVersionGlyphLayout.height);

{'fraction_non_alphanumeric': 0.10536522301228184, 'fraction_numerical': 0.004524886877828055, 'mean_word_length': 5.796486090775988, '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': '6016291', 'n_tokens_mistral': 1576, 'n_tokens_neox': 1492, 'n_words': 264}