|
|
@ -19,7 +19,14 @@ namespace Jumpy { |
|
|
|
static List<DebugRect> rects = new List<DebugRect>(); |
|
|
|
static Texture2D whiteTexture; |
|
|
|
|
|
|
|
public static void WriteLine(string s) { |
|
|
|
System.Diagnostics.Debug.WriteLine(s); |
|
|
|
} |
|
|
|
|
|
|
|
public static void WriteLine(string s, params object[] args) { |
|
|
|
System.Diagnostics.Debug.WriteLine(s, args); |
|
|
|
} |
|
|
|
|
|
|
|
public static void Initialize(GraphicsDevice graphics) { |
|
|
|
whiteTexture = new Texture2D(graphics, 1, 1); |
|
|
|
whiteTexture.SetData(new Color[] { Color.White }); |
|
|
|