public Window() { this.Position = Utils.Global.currResolution / 2; this.Size = new Vector2(300, 300); Texture = Utils.Global.Load <Texture2D>("WindowBG"); ExitButton = new Controls.Buttons (new Vector2((Position.X + Texture.Width), Position.Y), new Vector2(32, 18), "ExitButton"); tBox = new Controls.Textbox(new Vector2(Position.X + 12, Position.Y + Texture.Height / 2)); //rBox = new Controls.Readbox(new Vector2(Position.X + 12, (Position.Y + Texture.Height / 2)), "Drape sacre leurs on echos qu leurs trois. Un se troupeau veterans contient victoire je criaient amoureux. Certitude une incapable apprendre des abondance citadelle direction. Retombait escadrons annoncait portieres en ma boulevard he. Remit du parut treve subir il la xv. Noces jet saute oui rirez ete parce."); }
public static bool IsButtonJustPressed(Controls.Buttons b, int inputGroup = 0) { return(Game.IsControlJustPressed(inputGroup, b) && Game.CurrentInputMode == 1); }
public static bool IsDisabledButtonRegardless(Controls.Buttons b, int inputGroup = 0) { return(Controls.IsDisabledControlPressed(b, inputGroup) && Game.CurrentInputMode == 1); }
public static bool IsButtonJustPressedRegardless(Controls.Buttons b, int inputGroup = 0) { return(Controls.IsControlJustPressedRegardless(b, inputGroup) && Game.CurrentInputMode == 1); }