<commit_before>export class Sprite {
	constructor({
		xPos,
		yPos,
		width,
		height,
		speed,
	}) {

		this.xPos 	= (xPos)		? xPos 		: 0;
		this.yPos 	= (yPos)		? yPos 		: 0;
		this.width 	= (width)		? width 	: 0;
		this.height = (height)	? height 	: 0;
		this.speed 	= (speed)		? speed 	: 0;

	} // /constructor

	setPosition( xPos, yPos ) {
		this.xPos = xPos;
		this.yPos = yPos;
	}

	setSpeed( speed ) {
		this.speed = speed;
	}

	// MOVE FUNCTIONS
	moveUp() {
		this.yPos = this.yPos - this.speed;
	}<commit_msg>Sprite - setWidth and setHeight function<commit_after>export class Sprite {
	constructor({
		xPos,
		yPos,
		width,
		height,
		speed,
	}) {

		this.xPos 	= (xPos)		? xPos 		: 0;
		this.yPos 	= (yPos)		? yPos 		: 0;
		this.width 	= (width)		? width 	: 0;
		this.height = (height)	? height 	: 0;
		this.speed 	= (speed)		? speed 	: 0;

	} // /constructor

	setPosition( xPos, yPos ) {
		this.xPos = xPos;
		this.yPos = yPos;
	}

	setWidth( width ) {
		this.width = width;
	}

	setHeight( height ) {
		this.height = height;
	}

	setSpeed( speed ) {
		this.speed = speed;
	}

	// MOVE FUNCTIONS
	moveUp() {
		this.yPos = this.yPos - this.speed;
	}
{'fraction_non_alphanumeric': 0.15563198624247634, 'fraction_numerical': 0.008598452278589854, 'mean_word_length': 2.373913043478261, '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': '4294383', 'n_tokens_mistral': 580, 'n_tokens_neox': 521, 'n_words': 106}