mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
Fjernet ubrukt kode
This commit is contained in:
parent
a6e3ac1173
commit
37912a8ebb
@ -37,8 +37,6 @@ public class BoardActiveScreen extends AbstractScreen implements InputProcessor
|
||||
|
||||
public BoardActiveScreen(final RoboRallyWrapper roboRallyWrapper) {
|
||||
this.roboRallyWrapper = roboRallyWrapper;
|
||||
roboRallyWrapper.roboRallyGame = new RoboRallyGame();
|
||||
debugGame = new RoboRallyGame(true);
|
||||
|
||||
camera = new OrthographicCamera();
|
||||
camera.setToOrtho(false, viewPortWidth, viewPortHeight);
|
||||
|
@ -34,7 +34,7 @@ public class UsernameScreen extends AbstractScreen {
|
||||
loginbutton.addListener(new ClickListener(){
|
||||
@Override
|
||||
public void touchUp(InputEvent e, float x, float y, int point, int button){
|
||||
System.out.println(txtinput.getText());
|
||||
roboRallyWrapper.client.sendElement(txtinput.getText());
|
||||
if (roboRallyWrapper.server == null) {
|
||||
roboRallyWrapper.setScreen(roboRallyWrapper.screenManager.getLoadingScreen(roboRallyWrapper));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user