public void Modify(GameStage stage)
        {
            var statusManager = StageManager.Instance.Status;

            statusManager.MaximumDayLimit = (int)(statusManager.MaximumDayLimit * (1 + IncreasingRatio));

            CommonLogger.LogFormat("MaximumLimitChangedBurf::Modify => 프로젝트의 기한이 {0}배 증가함. 현재 : {1}", IncreasingRatio, statusManager.MaximumDayLimit);
        }
Beispiel #2
0
        public GameStage Clone()
        {
            var clonedGameStage = new GameStage
            {
                Title           = this.Title,
                ElapsedDayLimit = this.ElapsedDayLimit,
                IconName        = this.IconName,
                Reward          = this.Reward,
                MainStage       = this.MainStage,
                Boss            = this.Boss,
                ProgrammerSpecs = this.ProgrammerSpecs
            };

            clonedGameStage.objectives = new List <IStageObjective>(Objectives);
            return(clonedGameStage);
        }
        public void Unmodify(GameStage stage)
        {
            var statusManager = StageManager.Instance.Status;

            CommonLogger.LogFormat("MaximumLimitChangedBurf::Modify => 프로젝트 기한 변경 버프가 해제됨. 비율 : {0}, 현재 : {1}", IncreasingRatio, statusManager.MaximumDayLimit);
        }
Beispiel #4
0
 public ElapsedDayObjective(GameStage stage)
 {
     this.stage = stage;
 }