コード例 #1
0
    // : Create
    public CLASSZombie CreateZombie(int zombieNumber)
    {
        DATAZombie data =
            this.minister.DATASecretary.DictZombie[zombieNumber];
        CLASSZombie newZombie = new CLASSZombie(data);

        return(newZombie);
    }
コード例 #2
0
 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();
 }
コード例 #3
0
    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());
    }
コード例 #4
0
ファイル: Gotcha_Ruler.cs プロジェクト: ryusiin/STamagoA
    // : 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);
    }
コード例 #5
0
 public void SetSlider_Training(CLASSZombie zombie)
 {
     this.UILeader_Training.SetSlider_Training(zombie);
 }
コード例 #6
0
ファイル: InKinder_Ruler.cs プロジェクト: ryusiin/STamagoA
 protected override void InitStatus()
 {
     this.curZombie = this.minister.ZOMBIESecretary.Zombie_Current;
 }
コード例 #7
0
 // : Change
 public void ChangeZombie_Current(CLASSZombie zombie)
 {
     this.Zombie_Current = zombie;
 }
コード例 #8
0
 // : Add
 public void AddListZombie_Release(CLASSZombie zombie)
 {
     this.ListZombie_Release.Add(zombie);
 }