Esempio n. 1
0
        private void Start()
        {
            caseActuelle = 0;
            cases        = new List <List <EvenementAbstract> >();
            for (var i = 0; i < 12; i++)
            {
                cases.Add(new List <EvenementAbstract>());
            }
            var evenements = EvenementAbstract.loopThrough();

            foreach (var evenement in evenements)
            {
                AjouterUnEvenementSurToutSesCreneaux(evenement);
            }
            horloge             = FindObjectOfType <Horloge>();
            generationEvenement = FindObjectOfType <GenerationEvenement>();
        }
Esempio n. 2
0
 private void Awake()
 {
     evenementsEnAttente = new List <EvenementAbstract>();
     instance            = this;
 }