public static void CustomDraw_DamExample() { Game1.Painter.OpenCanvas(REMOEngine.Examples.DamExam_MainScene.scn.Camera, () => { Cursor.Draw(Color.Black); if (User.Pressing(Keys.LeftControl, Keys.Q)) { StandAlone.DrawString(Cursor.Pos.X + "," + Cursor.Pos.Y, Cursor.Pos + new Point(30, 0), Color.White, Color.Black); } }); }
public void Draw(Color c) { StandAlone.DrawString(FuncCallCount + " Loop,Time = " + StandAlone.ElapsedMillisec + "ms (per 1frame)", new Point(0, 0), c); }