<commit_before>﻿using UnityEngine;
using System.Collections;
using AssemblyCSharp;

public class RingBehaviour : MonoBehaviour, ICapturable {

	//The one who will be notified
	public PoseidonBehaviour poseidonBehaviour;

	// Use this for initialization
	void Start () {
		poseidonBehaviour = GameObject.Find ("Poseidon").GetComponent <PoseidonBehaviour>();
	}

	public void GetCaptured()
	{
		poseidonBehaviour.NotifyCapture ();
		Camera.main.GetComponent <RandomShake>().PlayShake ();
		GameObject.Destroy (gameObject);
	}

	// Update is called once per frame
	void Update () {
		transform.position = transform.position - new Vector3 (2 * Time.deltaTime, 0, 0);
	}

	void OnCollisionEnter2D(Collision2D collision) {
		if (collision.collider.tag == "RemoveGem") {
			GameObject.Destroy (gameObject);
		}

	}
}<commit_msg>The gem now fades away when reaching the left side of the screen instead of suddenly disappearing<commit_after>﻿using UnityEngine;
using System.Collections;
using AssemblyCSharp;

public class RingBehaviour : MonoBehaviour, ICapturable {

	//The one who will be notified
	public PoseidonBehaviour poseidonBehaviour;

	// Use this for initialization
	void Start () {
		poseidonBehaviour = GameObject.Find ("Poseidon").GetComponent <PoseidonBehaviour>();
	}

	public void GetCaptured()
	{
		poseidonBehaviour.NotifyCapture ();
		Camera.main.GetComponent <RandomShake>().PlayShake ();
		GameObject.Destroy (gameObject);
	}

	// Update is called once per frame
	void Update () {
		transform.position = transform.position - new Vector3 (2 * Time.deltaTime, 0, 0);
	}

	void OnCollisionEnter2D(Collision2D collision) {
		if (collision.collider.tag == "RemoveGem") {
			GetComponent <FadeAway>().StartFading();
		}

	}
}
{'fraction_non_alphanumeric': 0.1061130334486736, 'fraction_numerical': 0.006920415224913495, 'mean_word_length': 4.726072607260726, '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': '2637169', 'n_tokens_mistral': 590, 'n_tokens_neox': 537, 'n_words': 140}