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); } }
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); } }