Beispiel #1
0
 public static void MovedTouch(float x1, float y1, float x2, float y2)
 {
     if (Is6(x1, y1) && Is6(x2, y2))
     {
         Hide();
         ModeSelect.Show(6);
     }
     if (Is8(x1, y1) && Is8(x2, y2))
     {
         Hide();
         ModeSelect.Show(8);
     }
     if (Is10(x1, y1) && Is10(x2, y2))
     {
         Hide();
         ModeSelect.Show(10);
     }
     if (Is12(x1, y1) && Is12(x2, y2))
     {
         Hide();
         ModeSelect.Show(12);
     }
 }
Beispiel #2
0
 public static void JustTouch(float x, float y)
 {
     if (Is6(x, y))
     {
         Hide();
         ModeSelect.Show(6);
     }
     if (Is8(x, y))
     {
         Hide();
         ModeSelect.Show(8);
     }
     if (Is10(x, y))
     {
         Hide();
         ModeSelect.Show(10);
     }
     if (Is12(x, y))
     {
         Hide();
         ModeSelect.Show(12);
     }
 }