Пример #1
0
 public override bool ShouldTerminate(Generator gen)
 {
     return(CurrentGeneration >= MaxGeneration);
 }
Пример #2
0
 public override void SetApart(Generator gen)
 {
     gen.OnGenerateEventHandler -= (s, e) => IncrementCounter();
 }