Beispiel #1
0
            public CubeEngine(CubeWallpaper wall) : base(wall)
            {
                // Set up the paint to draw the lines for our cube
                paint.Color       = Color.White;
                paint.AntiAlias   = true;
                paint.StrokeWidth = 2;
                paint.StrokeCap   = Paint.Cap.Round;
                paint.SetStyle(Paint.Style.Stroke);

                start_time = SystemClock.ElapsedRealtime();

                mDrawCube = delegate { DrawFrame(); };
            }
			public CubeEngine (CubeWallpaper wall) : base (wall)
			{
				// Set up the paint to draw the lines for our cube
				paint.Color = Color.White;
				paint.AntiAlias = true;
				paint.StrokeWidth = 2;
				paint.StrokeCap = Paint.Cap.Round;
				paint.SetStyle (Paint.Style.Stroke);

				start_time = SystemClock.ElapsedRealtime ();
				
				mDrawCube = delegate { DrawFrame (); };
			}