add Debug.WriteLine delegate
GitOrigin-RevId: 485ca1507f040ac066e001388d7af84adad24efb
This commit is contained in:
parent
67e952d64f
commit
22a0fab70f
@ -19,7 +19,14 @@ namespace Jumpy {
|
|||||||
static List<DebugRect> rects = new List<DebugRect>();
|
static List<DebugRect> rects = new List<DebugRect>();
|
||||||
static Texture2D whiteTexture;
|
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) {
|
public static void Initialize(GraphicsDevice graphics) {
|
||||||
whiteTexture = new Texture2D(graphics, 1, 1);
|
whiteTexture = new Texture2D(graphics, 1, 1);
|
||||||
whiteTexture.SetData(new Color[] { Color.White });
|
whiteTexture.SetData(new Color[] { Color.White });
|
||||||
|
Loading…
Reference in New Issue
Block a user