Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     consumersFieldOfView = gameController.GetConsumersFieldOfView();
     if (consumersFieldOfView == null)
     {
         Debug.Log("Generate fake 'consumerFieldOfView'");
         consumersFieldOfView = GameTools.GenerateConsumersFieldOfView();
     }
 }
Esempio n. 2
0
    // Use this for initialization
    void Start()
    {
        stateList = Enum.GetValues(typeof(TLTutoF)).Cast <TLTutoF>().ToList();
        nStates   = stateList.Count;


        consumersFieldOfView = gameController.GetConsumersFieldOfView();
        if (consumersFieldOfView == null)
        {
            Debug.Log("Generate fake 'consumerFieldOfView'");
            consumersFieldOfView = GameTools.GenerateConsumersFieldOfView();
        }

        delayForCommunicatingProgress = gameController.GetTimeBeforeRetryingDemand();

        stateTuto = TLTutoF.Init;
    }