Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 public override void onButtonUp(InputEngine.MouseArgs e)
 {
     if (GUIEngine.ContainsHUDScene(GUIEngine.s_mainMenu))
     {
         return;
     }
     base.onButtonUp(e);
 }
Esempio n. 3
0
 public override bool IsIn(int x, int y)
 {
     return(GUIEngine.ContainsHUDScene(this) &&
            ((button.isVisible && button.IsIn(x, y)) || (tbCode.isVisible && tbCode.IsIn(x, y))));
 }
Esempio n. 4
0
 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));
 }