예제 #1
0
            public static void OnPerform(Scenario scenario, ScenarioFrame frame)
            {
                RetirementScenario retirement = scenario as RetirementScenario;

                if (retirement != null)
                {
                    retirement.RetiredAtMax = scenario.GetValue <Option, bool>();
                }

                SimScenario s = scenario as SimScenario;

                if (s == null)
                {
                    return;
                }

                scenario.Add(frame, new RetireAtMaxScenario(s.Sim), ScenarioResult.Start);
            }
예제 #2
0
 protected RetirementScenario(RetirementScenario scenario)
     : base(scenario)
 {
     mRetiredAtMax = scenario.mRetiredAtMax;
 }
예제 #3
0
 protected RetirementScenario(RetirementScenario scenario)
     : base(scenario)
 {
     mRetiredAtMax = scenario.mRetiredAtMax;
 }