add Debug.WriteLine delegate
GitOrigin-RevId: 485ca1507f040ac066e001388d7af84adad24efb
This commit is contained in:
parent
67e952d64f
commit
22a0fab70f
@ -19,6 +19,13 @@ 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);
|
||||||
|
Loading…
Reference in New Issue
Block a user