// Use this for initialization
        void Start()
        {
            Score        = 1f;
            AverageScore = -1f;
            Cooked       = 0;

            PattiesCooked.text = Message + Cooked.ToString();
        }
        // Update is called once per frame
        void Update()
        {
            if (Timer.GameOver && !ScoreDone)
            {
                Score     = CalculateScore();
                ScoreDone = true;
            }

            PattiesCooked.text = Message + Cooked.ToString();
        }
Пример #3
0
 void ReadyOrder(int id, Cooked link, OrderProcessing linkOnFood)
 {
     readyOrder.Enqueue(new IdTable(id, linkOnFood));
     listCooked.Remove(link);
 }