<commit_before>package com.teamsomething.ggj2016.game;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.mygdx.game.ScreenManager;

public class TitleScreen implements Screen {
	private SpriteBatch batch;
    private BitmapFont font;
	private Stage stage;
	private Texture evilTexture;
    
	public TitleScreen() {
		batch = new SpriteBatch();    
        font = new BitmapFont();
        font.setColor(Color.RED);
		evilTexture = new Texture(Gdx.files.internal("evil.png"));

        stage = new Stage();
	}

	@Override
	public void show() {
		// TODO Auto-generated method stub

	}

	@Override
	public void render(float delta) {
		
		Gdx.gl.glClearColor(1, 1, 1, 1);
        Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
        
        batch.begin();
        	batch.draw(evilTexture, (float) (200+ Math.floor(GameScreen.deathCounter * Math.random() * 20)), (float) (Math.floor(GameScreen.deathCounter * Math.random())), 500, Gdx.graphics.getHeight()/2);
        font.draw(batch, "<NAME>", 100, Gdx.graphics.getHeight()/2+50);
        batch.end();
        
        boolean mouseLeftDown = Gdx.input.isButtonPressed(Input.Buttons.LEFT);
        int mouseX = Gdx.input.getX();
        int mouseY = Gdx.input.getY();
        
        boolean leftPressed = Gdx.input.isKeyJustPressed(Input.Keys.SHIFT_LEFT);
		boolean rightPressed = Gdx.input.isKeyJustPressed(Input.Keys.SHIFT_RIGHT);
        
        if (mouseLeftDown || leftPressed || rightPressed){
        	ScreenManager.getInstance().show(ScreenManager.Screens.GAME);
        }else{
//        	ScreenManager.getInstance().show(ScreenManager.Screens.);
        }

	}

	@Override
	public void resize(int width, int height) {
		stage.getViewport().update(width, height, true);

	}

	@Override
	public void pause() {
		// TODO Auto-generated method stub

	}

	@Override
	public void resume() {
		// TODO Auto-generated method stub

	}

	@Override
	public void hide() {
		// TODO Auto-generated method stub

	}

	@Override
	public void dispose() {
		batch.dispose();
        font.dispose();
	}

}
<commit_msg>Adding team names to title screen.<commit_after>package com.teamsomething.ggj2016.game;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.mygdx.game.ScreenManager;

public class TitleScreen implements Screen {
	private SpriteBatch batch;
    private BitmapFont font;
	private Stage stage;
	private Texture evilTexture;
    
	public TitleScreen() {
		batch = new SpriteBatch();    
        font = new BitmapFont();
        font.setColor(Color.RED);
		evilTexture = new Texture(Gdx.files.internal("evil.png"));

        stage = new Stage();
	}

	@Override
	public void show() {
		// TODO Auto-generated method stub

	}

	@Override
	public void render(float delta) {
		
		Gdx.gl.glClearColor(1, 1, 1, 1);
        Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
        
        batch.begin();
        	batch.draw(evilTexture, (float) (200+ Math.floor(GameScreen.deathCounter * Math.random() * 20)), (float) (Math.floor(GameScreen.deathCounter * Math.random())), 500, Gdx.graphics.getHeight()/2);
        font.draw(batch, "<NAME>", 100, Gdx.graphics.getHeight()/2+50);
        font.draw(batch, "<NAME>, <NAME>, <NAME>", 100, Gdx.graphics.getHeight()/2+150);

        batch.end();
        
        boolean mouseLeftDown = Gdx.input.isButtonPressed(Input.Buttons.LEFT);
        int mouseX = Gdx.input.getX();
        int mouseY = Gdx.input.getY();
        
        boolean leftPressed = Gdx.input.isKeyJustPressed(Input.Keys.SHIFT_LEFT);
		boolean rightPressed = Gdx.input.isKeyJustPressed(Input.Keys.SHIFT_RIGHT);
        
        if (mouseLeftDown || leftPressed || rightPressed){
        	ScreenManager.getInstance().show(ScreenManager.Screens.GAME);
        }else{
//        	ScreenManager.getInstance().show(ScreenManager.Screens.);
        }

	}

	@Override
	public void resize(int width, int height) {
		stage.getViewport().update(width, height, true);

	}

	@Override
	public void pause() {
		// TODO Auto-generated method stub

	}

	@Override
	public void resume() {
		// TODO Auto-generated method stub

	}

	@Override
	public void hide() {
		// TODO Auto-generated method stub

	}

	@Override
	public void dispose() {
		batch.dispose();
        font.dispose();
	}

}

{'fraction_non_alphanumeric': 0.12960296235342522, 'fraction_numerical': 0.013783172186792841, 'mean_word_length': 3.242582897033159, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '6540478', 'n_tokens_mistral': 1719, 'n_tokens_neox': 1579, 'n_words': 313}