예제 #1
0
 public TimeCounter(TimeSource timeSource)
 {
     _timeSource = timeSource;
 }
예제 #2
0
 public EventPerSecond(TimeSource timeSource)
 {
     _timeSource = timeSource;
 }
예제 #3
0
 public Limiter(TimeSpan frequency, TimeSource timeSource)
 {
     _frequency  = frequency;
     _timeSource = timeSource;
 }
예제 #4
0
 public Overlay(Func <List <PewCircle> > pewCirclesSource, TimeSource timeSource)
 {
     _rendersPerSecond = new EventPerSecond(timeSource);
     _pewCirclesSource = pewCirclesSource;
 }