Beispiel #1
0
        public bool Loop(float frameSecs)
        {
            //
            // Ignore passed in frameSecs.
            //

            bool isActive = apian.Update(); // returns "True" if Active

            if (isActive)                   // Don't call loop if not active
            {
                long prevFrameApianTime = FrameApianTime;
                UpdateFrameTime(apian.CurrentRunningApianTime());
                CoreData.Loop(FrameApianTime, FrameApianTime - prevFrameApianTime);
            }

            return(true);
        }