<commit_before>package org.scbio.onebuttonlarry.stage;

import org.scbio.onebuttonlarry.R;
import org.scbio.onebuttonlarry.game.GameStage;
import org.scbio.onebuttonlarry.game.GameView;
import org.scbio.onebuttonlarry.game.Larry;
import org.scbio.onebuttonlarry.game.Sprite;

import android.content.Context;
import android.graphics.Canvas;
import android.media.AudioManager;
import android.media.SoundPool;
import android.view.View;

public class RockStage extends GameStage {

	/*
	 * Stage map constants.
	 */
	private static final int BG_RES = R.drawable.stagebg_runstop;
	private static final float LARRY_GROUND_Y = 0.626f;
	private static final float STONE_GROUND_Y = 0.51f;

	private GameView parent;
	private RunLarry larry;
	private Rock stone;

	public RockStage(Context context, GameView parent) {	
		this.parent = parent;

		larry = new RunLarry(context, parent, 0.1f);
		this.stone = new Rock(context, parent);		
		
		this.setStageBackground(BG_RES);<commit_msg>Fixed minor bug.<commit_after>package org.scbio.onebuttonlarry.stage;

import org.scbio.onebuttonlarry.R;
import org.scbio.onebuttonlarry.game.GameStage;
import org.scbio.onebuttonlarry.game.GameView;
import org.scbio.onebuttonlarry.game.Larry;
import org.scbio.onebuttonlarry.game.Sprite;

import android.content.Context;
import android.graphics.Canvas;
import android.media.AudioManager;
import android.media.SoundPool;
import android.view.View;

public class RockStage extends GameStage {

	/*
	 * Stage map constants.
	 */
	private static final int BG_RES = R.drawable.stagebg_runstop;
	private static final float LARRY_GROUND_Y = 0.626f;
	private static final float STONE_GROUND_Y = 0.51f;

	private GameView parent;
	private RunLarry larry;
	private Rock stone;

	public RockStage(Context context, GameView parent) {	
		this.parent = parent;

		larry = new RunLarry(context, parent, 0.1f);
		this.stone = new Rock(context, parent);		
		
		restartStage();
		
		this.setStageBackground(BG_RES);
{'fraction_non_alphanumeric': 0.09330628803245436, 'fraction_numerical': 0.009127789046653144, 'mean_word_length': 4.9787878787878785, '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': '5759908', 'n_tokens_mistral': 691, 'n_tokens_neox': 638, 'n_words': 150}