Exemplo n.º 1
0
        public IEnumerator StructureRepositoryTestSingleStructureListQuantityPasses()
        {
            int quantity = repository.GetSingleStructureNames().Count;

            yield return(new WaitForEndOfFrame());

            Assert.AreEqual(1, quantity);
        }
 private void PrepareBuildMenu()
 {
     CreateButtonsInPanel(zonesPanel.transform, structureRepository.GetZoneNames(), OnBuildAreaCallback);
     CreateButtonsInPanel(facilitiesPanel.transform, structureRepository.GetSingleStructureNames(), OnBuildSingleStructureCallback);
     CreateButtonsInPanel(roadsPanel.transform, new List <string>()
     {
         structureRepository.GetRoadStructureName()
     }, OnBuildRoadCallback);
 }