コード例 #1
0
 private void InitializeMages()
 {
     Data.CreateMagesFromDataArray(_mageFactory);
     foreach (var mage in Data.GetMages())
     {
         mage.Initialize(this);
     }
     Data.PutMagesToBuildings(_sceneReferenceManager.AllAssignableBuildings);
     MageButtons.RemoveMageButtons();
     foreach (var mage in Data.GetMages())
     {
         MageButtons.AddMageButton(mage);
     }
 }