Ejemplo n.º 1
0
 public void OrderGeneration()
 {
     _order = Salad.GenerateRandom();
     m_State.SetOrder(_order.ToString());
     currentWaitTime = Random.Range(Const.CUSTOMER_WAIT_TIME,
                                    _order.vegetabeCount * (Const.CUSTOMER_WAIT_TIME + 1));
     totalWaitTime   = currentWaitTime;
     _waitTimeFactor = 1f;
 }