<commit_before>﻿using UnityEngine;

public class TimeController : MonoBehaviour
{
    public delegate void Tick(int tick);
    public event Tick EventTick;

	int m_Time;
	bool isForward = true;
    float timer = 0;

	public int time
	{
		get { return m_Time; }
		set { m_Time = value; }
	}

	public bool isFoward
	{
		get { return isForward; }
		set { isForward = value; }
	}

	void FixedUpdate()
	{
        timer += Time.deltaTime;
        if(timer >= 1f && isForward)
        {
            timer = 0;
            m_Time++;
            EventTick(m_Time);
        }
    }
}<commit_msg>Minor refactor (whitespace)<commit_after>﻿using UnityEngine;

public class TimeController : MonoBehaviour
{
    public delegate void Tick(int tick);
    public event Tick EventTick;

    int m_Time, _maxTime;
    bool isForward = true;
    float timer = 0;

    public int time
    {
        get { return m_Time; }
        set { m_Time = value; }
    }


    public bool isFoward
    {
        get { return isForward; }
        set { isForward = value; }
    }

    void FixedUpdate()
    {
        timer += Time.deltaTime;
        if (timer >= 1f && isForward)
        {
            timer = 0;
            m_Time++;
            EventTick(m_Time);
        }
    }
}
{'fraction_non_alphanumeric': 0.0968, 'fraction_numerical': 0.0048, 'mean_word_length': 1.8958333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?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': '402163', 'n_tokens_mistral': 422, 'n_tokens_neox': 398, 'n_words': 108}