Ejemplo n.º 1
0
 public DebugOuput()
 {
     font         = EngineCore.content.Load <SpriteFont>("DebugFont");
     choose       = new GraphicRect();
     choose.size  = Vector2.Zero;
     vline        = new GraphicRect();
     vline.pos.Y  = -10;
     vline.size.X = EngineCore.LengthToHundred(1);
     hline        = new GraphicRect();
     hline.size.Y = EngineCore.LengthToHundred(1);
 }
Ejemplo n.º 2
0
 public static Vector2 GetOldCursorPos()
 {
     return(new Vector2(EngineCore.LengthToHundred(EngineCore.oldMouseState.X), EngineCore.LengthToHundred(EngineCore.oldMouseState.Y - EngineCore.RenderedRectangle.Y)));
 }