la til info i konstuktøren

This commit is contained in:
Tobydrama 2020-04-06 17:11:51 +02:00
parent 3f4387a525
commit dd9a8f6dbd

View File

@ -43,7 +43,7 @@ public class StartMenuScreen extends AbstractScreen {
public boolean touchDown (InputEvent event, float x, float y, int pointer, int button) {
try {
roboRallyWrapper.server = new RoboRallyServer();
roboRallyWrapper.client = new RoboRallyClient("127.0.0.1");
roboRallyWrapper.client = new RoboRallyClient("127.0.0.1",roboRallyWrapper);
roboRallyWrapper.setScreen(roboRallyWrapper.screenManager.getUsernameScreen(roboRallyWrapper));
} catch (IOException e) {
e.printStackTrace();