예제 #1
0
    private void Scenario_CheckRelease()
    {
        // :: Check
        if (this.isNoticeRelease == true)
        {
            return;
        }
        Enum.eZombieStatus eStatus = this.curZombie.Get_ZombieStatus();
        if (eStatus != Enum.eZombieStatus.RELEASE_WAIT)
        {
            return;
        }

        // :: Set
        this.isNoticeRelease = true;
        this.Scenario_NoticeRelease();
    }
예제 #2
0
    private void Scenario_EverySecondForCurrentZombie()
    {
        // :: Get
        Enum.eZombieStatus eStatus =
            this.ZOMBIESecretary.Zombie_Current.Get_ZombieStatus();

        // :: EXIT
        if (eStatus != Enum.eZombieStatus.CURRENT)
        {
            return;
        }

        // :: Set
        this.ZOMBIESecretary.Zombie_Current.Add_CurDeadlineSecond();
        this.ZOMBIESecretary.Zombie_Current
        .Add_CurCalmDown(CALM_DOWN_SUB_VALUE);
        if (this.ZOMBIESecretary.Zombie_Current.Get_ZombieCondition()
            == Enum.eCondition.CRAZY)
        {
            this.ZOMBIESecretary.Zombie_Current
            .Add_CurTrainingPoint(TRAINIG_POINT_SUB_VALUE);
        }
    }
예제 #3
0
 // : Change
 public void Change_ZombieStatus(Enum.eZombieStatus eStatus)
 {
     this.Info.eStatus = eStatus;
 }