예제 #1
0
파일: Program.cs 프로젝트: NelsonTJ/test
        public GRA_R(GoalFunc gf, RuleFunc rf, ActionFunc af,
                     TimeSpan span, TimeSpan repeatSpan)
            : base(gf, rf, af, span)
        {
            RepeatSpan     = repeatSpan;
            MaxRepeatCount = int.MaxValue;

            RepeatWaitedTime = repeatSpan;
            RepeatCount      = 0;
        }
예제 #2
0
파일: Program.cs 프로젝트: NelsonTJ/test
        public GRA(GoalFunc gf, RuleFunc rf, ActionFunc af, TimeSpan span)
        {
            GoalFunc   = gf;
            RuleFunc   = rf;
            ActionFunc = af;
            Span       = span;
            MaxTries   = int.MaxValue;

            Init();
        }