// : Create public CLASSZombie CreateZombie(int zombieNumber) { DATAZombie data = this.minister.DATASecretary.DictZombie[zombieNumber]; CLASSZombie newZombie = new CLASSZombie(data); return(newZombie); }
public override void Init(Minister Minister) { base.Init(Minister); this.Zombie_Current = this.Get_SavedZombie_Current(); if (this.Zombie_Current == null) { this.Zombie_Current = this.CreateZombie(BASE_ZOMBIE); } this.ListZombie_Release = this.Get_SavedZombie_Release(); }
public void SetSlider_Training(CLASSZombie zombie) { // :: Get int curTP = zombie.Get_CurTrainingPoint(); // :: Set this.SLIDER_Training.maxValue = zombie.Get_MaxCalmDown(); this.SLIDER_Training.value = curTP; // :: UI this.ShowSlider_ByCurTP(curTP); this.SetColor_Slider(curTP, zombie.Get_RequiredTrainingPoint()); }
// : Scenario private void Scenario_SetZombie(int randZombie) { //:: Get CLASSZombie newZombie = this.minister.ZOMBIESecretary .CreateZombie(randZombie); // :: Change this.minister.ZOMBIESecretary.ChangeZombie_Current(newZombie); // :: Get CLASSZombie curZombie = this.minister.ZOMBIESecretary.Zombie_Current; // :: Set // >> GO this.GOChief.Set_ZombieModel(curZombie.Get_ModelType()); // >> UI int nameID = curZombie.Get_ZombieNameID(); string name = this.minister.DATASecretary.DictName[nameID].name; this.UIChief.ShowUI_Name(false, name); }
public void SetSlider_Training(CLASSZombie zombie) { this.UILeader_Training.SetSlider_Training(zombie); }
protected override void InitStatus() { this.curZombie = this.minister.ZOMBIESecretary.Zombie_Current; }
// : Change public void ChangeZombie_Current(CLASSZombie zombie) { this.Zombie_Current = zombie; }
// : Add public void AddListZombie_Release(CLASSZombie zombie) { this.ListZombie_Release.Add(zombie); }