Beispiel #1
0
        // Constructor(s)
        internal TimeManager(TimeManagerArgs args)
        {
            _watch  = new Stopwatch();
            _keeper = new TimeKeeper(args.StepsPerSecond);

            _frames = new double[args.StepsPerSecond];
            _buffer = args.Accumulate;
        }
Beispiel #2
0
 public TimeManagerArgs(TimeManagerArgs args)
 {
     StepsPerSecond = args.StepsPerSecond;
     Accumulate     = args.Accumulate;
 }