Ejemplo n.º 1
0
        public void Run()
        {
            _lastUpdate = DateTime.Now;

            // Get the Accelerometer going
            //Accelerometer.SetupAccelerometer(); // FIXME: Accelerometer breaks the applications with a random NullPointerException

            view.Run(FramesPerSecond / (FramesPerSecond * TargetElapsedTime.TotalSeconds));
        }
Ejemplo n.º 2
0
        public void Run()
        {
            _lastUpdate = DateTime.Now;

            // Get the Accelerometer going
            Accelerometer.SetupAccelerometer();

            view.Run(FramesPerSecond / (FramesPerSecond * TargetElapsedTime.TotalSeconds));
        }
Ejemplo n.º 3
0
        public void Run()
        {
            _lastUpdate = DateTime.Now;

            // Get the Accelerometer going
            //TODO umcomment when the following bug is fixed
            // http://bugzilla.xamarin.com/show_bug.cgi?id=1084
            // Accelerometer currently seems to have a memory leak
            //Accelerometer.SetupAccelerometer();
            view.Run(FramesPerSecond / (FramesPerSecond * TargetElapsedTime.TotalSeconds));
        }