diff --git a/android/src/com/aqwsxlostfly/packandgo/client/MessageProcessor.java b/android/src/com/aqwsxlostfly/packandgo/client/MessageProcessor.java index 7fb3a92..efe75bc 100644 --- a/android/src/com/aqwsxlostfly/packandgo/client/MessageProcessor.java +++ b/android/src/com/aqwsxlostfly/packandgo/client/MessageProcessor.java @@ -90,7 +90,7 @@ private void processObject(JsonValue object) { String sessionMsg = object.getString("msg"); String sessionSize = object.getString("size"); String sessionMap = object.getString("map"); - Gdx.app.log("SESSION STATE", "MSG " + sessionMsg); + try { gameSession.setConnected(true); gameSession.setId(sessionId); diff --git a/core/src/com/aqwsxlostfly/packandgo/Screens/PlayScreen.java b/core/src/com/aqwsxlostfly/packandgo/Screens/PlayScreen.java index 0ae61e3..4454917 100644 --- a/core/src/com/aqwsxlostfly/packandgo/Screens/PlayScreen.java +++ b/core/src/com/aqwsxlostfly/packandgo/Screens/PlayScreen.java @@ -51,7 +51,7 @@ public class PlayScreen implements Screen { public static final String PLAYER_STATE_DELETE = "playerStateDelete"; public static final String FURNITURE_STATE = "furnitureState"; private static final float TOTAL_GAME_TIME_LVL_1 = 6f * 60f; - private static final String PLAYSCREENMUSIC = "Clown.mp3"; + private static final String PLAY_SCREEN_MUSIC = "Clown.mp3"; private static final float STEP_TIME = 1 / 60f; private static final float frameRateRender = 1 / 60f; private static final float frameRateTimer = 1 / 50f; @@ -97,7 +97,7 @@ public PlayScreen() { hudCamera.position.set((float) screenWidth / 2, (float) screenHeight / 2, 0); hudCamera.update(); - musicTools = new MusicTools(PLAYSCREENMUSIC); + musicTools = new MusicTools(PLAY_SCREEN_MUSIC); musicTools.startMusic(); screamSound = Gdx.audio.newSound(Gdx.files.internal("scream.mp3")); @@ -635,7 +635,7 @@ public void restart() { Gdx.input.setInputProcessor(inputMultiplexer); - musicTools = new MusicTools(PLAYSCREENMUSIC); + musicTools = new MusicTools(PLAY_SCREEN_MUSIC); musicTools.startMusic(); resetMap();