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

public class BreakableTile : MonoBehaviour 
{
	public enum TileType
	{
		Empty,
		Block,
		Death,
		Coin
	}
 
	private TileType type;

	private TileType Type
	{
		get { return type; }
		set 
		{
			ChangeTileType(value);
		}
	}

	private void ChangeTileType(TileType newType)
	{
		type = newType;
	}

	private void OnTrigger2DExit(Collider2D collider)
	{
		if (collider.CompareTag ("Player")) 
		{
			this.gameObject.SetActive(false);
		}

	}
}<commit_msg>Added updates to breakableTile<commit_after>﻿using UnityEngine;
using System.Collections;

public class BreakableTile : MonoBehaviour 
{
	public enum TileType
	{
		Empty,
		Block,
		Death,
		Coin
	}
 
	private TileType type;

	private TileType Type
	{
		get { return type; }
		set 
		{
			ChangeTileType(value);
		}
	}

	private void ChangeTileType(TileType newType)
	{
		type = newType;
	}

	private void OnTrigger2DExit(Collider2D collider)
	{
		if (collider.CompareTag ("Player")) 
		{
			switch (type) 
			{
				case TileType.Empty:
					//Shouldn't be colliding
					break;
				case TileType.Block:
					//Kill block
					ChangeTileType (TileType.Empty);
					break;
				case TileType.Death:
					//Die
					break;
				case TileType.Coin:
					//GetCoin()
					break;
			}
		}

	}
}
{'fraction_non_alphanumeric': 0.09655172413793103, 'fraction_numerical': 0.0030651340996168583, 'mean_word_length': 2.8985074626865672, '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': '5262491', 'n_tokens_mistral': 579, 'n_tokens_neox': 472, 'n_words': 105}