Example #1
0
 internal override void Visit(object target, PWalkContext context)
 {
     if (context.Core.SystemData.TargetTypes.Any(_ => TargetTypes.Any(type => _.IsAssignableFrom(type))))
     {
         OnVisit(target, context);
     }
 }
Example #2
0
 protected override void OnVisit(object target, PWalkContext context)
 {
     context.NextStep = 0;
 }
Example #3
0
 internal virtual void Visit(object target, PWalkContext context)
 {
     OnVisit(target, context);
 }
Example #4
0
 /// <summary>
 /// 探索時処理
 /// </summary>
 protected abstract void OnVisit(object target, PWalkContext context);
Example #5
0
 protected override void OnVisit(object target, PWalkContext context)
 {
     context.NextStep = context.CurrentStep + 1;
 }