Exemplo n.º 1
0
 public static void CreateCamera(GraphicsDevice graphics)
 {
     camera = new Camera2D(graphics, 640, 360, Comora.AspectMode.FillStretch);
     camera.LoadContent();
     camera.Camera.Zoom = 1f;
     camera.AddDebugLines(
         new int[]
     {
         16, 16 * 4
     },
         new Color[]
     {
         new Color(50, 50, 50, 50), new Color(0, 0, 100, 100)
     },
         new int[]
     {
         1, 1
     }
         );
 }