using System;
using UnityEngine;
using UnityEngine.UI;


namespace AssemblyCSharp
{

	public class HighscoreThaiChef : MonoBehaviour
	{

		private static HighscoreThaiChef _instance;
		public int score;


		public static HighscoreThaiChef Instance {

			get {
				return _instance;
			}

		}

		public HighscoreThaiChef ()
		{
			
		}

		public void Start ()
		{
			_instance = this;
		}

		public void Update ()
		{
			GetComponent<Text> ().text = score.ToString ();
		}

		public void addScore (int aScore)
		{

			timeValueCounter.Instance.addTime (10);
			MultiLachs.Instance.addLachs (aScore);
		}

	}
}

