<commit_before>package com.peterverzijl.softwaresystems.qwirkle.graphics;

import com.peterverzijl.softwaresystems.qwirkle.gameengine.GameEngineComponent;
import com.peterverzijl.softwaresystems.qwirkle.ui.Sprite;

/**
 * A class that contains the sprite that is due for rendering.
 * @author <NAME>
 * @version 1.0a
 */
public class SpriteRenderer extends RenderComponent {
	
	/**
	 * The sprite that gets rendered
	 */
	private Sprite mSprite;
	
	/**
	 * Sets the sprite for the rendering.
	 * @param sprite
	 */
	public void setSprite(Sprite sprite) {
		mSprite = sprite;
		GameEngineComponent.renderers.add(this);
	}
	
	@Override
	public Sprite getSprite() {
		return mSprite;
	}	
}<commit_msg>Fixed sprite renderer such that it has a start and update function.<commit_after>package com.peterverzijl.softwaresystems.qwirkle.graphics;

import com.peterverzijl.softwaresystems.qwirkle.gameengine.GameEngineComponent;
import com.peterverzijl.softwaresystems.qwirkle.ui.Sprite;

/**
 * A class that contains the sprite that is due for rendering.
 * @author <NAME>
 * @version 1.0a
 */
public class SpriteRenderer extends RenderComponent {
	
	/**
	 * The sprite that gets rendered
	 */
	private Sprite mSprite;
	
	/**
	 * Sets the sprite for the rendering.
	 * @param sprite
	 */
	public void setSprite(Sprite sprite) {
		mSprite = sprite;
		GameEngineComponent.renderers.add(this);
	}
	
	@Override
	public Sprite getSprite() {
		return mSprite;
	}

	@Override
	public void Start() { }

	@Override
	public void Update() { }	
}
{'fraction_non_alphanumeric': 0.09770491803278689, 'fraction_numerical': 0.002622950819672131, 'mean_word_length': 4.069767441860465, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2372392', 'n_tokens_mistral': 540, 'n_tokens_neox': 503, 'n_words': 129}