コード例 #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();
        }