Ejemplo n.º 1
0
 public override void update(MenuBase m)
 {
     data.menu  = m;
     data.tarIP = ipNumber;
     foreach (Button b in buttons)
     {
         b.calculate(data);
     }
     if (Connections.GetInstance().isConnected)
     {
         m.setCurrent(MenuStates.LOBBY_CONNECTED);
     }
 }