public override bool IsIn(int x, int y) { x = (int)(Settings.GameScale * x); y = (int)(Settings.GameScale * y); return(GUIEngine.ContainsHUDScene(this) && isVisible && bRemove.IsIn(x - (int)Position.X, y - (int)Position.Y)); }
public override void onButtonUp(InputEngine.MouseArgs e) { if (GUIEngine.ContainsHUDScene(GUIEngine.s_mainMenu)) { return; } base.onButtonUp(e); }
public override bool IsIn(int x, int y) { return(GUIEngine.ContainsHUDScene(this) && ((button.isVisible && button.IsIn(x, y)) || (tbCode.isVisible && tbCode.IsIn(x, y)))); }
public override bool IsIn(int x, int y) { return(GUIEngine.ContainsHUDScene(this) && isVisible && tbCode.IsIn(x - (int)Settings.GameOffset.X, y - (int)Settings.GameOffset.Y)); }