Ejemplo n.º 1
0
 void updateDogCollection()
 {
     dogCollection = new List <Dog>();
     switch (browserMode)
     {
     case DogBrowserType.AdoptedDogs:
         List <DogDescriptor> dogInfos   = dataController.AdoptedDogs;
         DogFactory           dogFactory = new DogFactory(hideGameObjects: true);
         dogCollection = dogFactory.CreateGroupList(dogInfos);
         buttonController.RefreshPages();
         break;
     }
 }
Ejemplo n.º 2
0
    void updateDogList(DogDescriptor[] dogInfos)
    {
        DogFactory dogFactory = new DogFactory(hideGameObjects: true);

        dogsList = dogFactory.CreateGroupList(new List <DogDescriptor>(dogInfos));
    }