Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The scene now renders required UI elements, and has basic functionality. It still lacks connections to the server, but this was outside the scope of the Trello task. The main menu uses the ui elements from https://github.com/libgdx/libgdx/tree/master/tests/gdx-tests-android/assets/data. Two buttons and a text field have been made.
Textfield: saves input from this element to a String that serves as a game ID, and should be used to make calls to the server
Join Game button: should take the gameID and send it to the server. Currently skips this step, and simply sends the user directly to the game view.
Settigns button: sends the user to the settings view.
A framework for a 'waiting to join game' has also been made. The render() function has a swith statement, with three states: MAIN, QEUED, and START. The plan is for the Join Game button to change the state to QEUED which will deactivate the UI elements, making sure that the user can't accidentally join two games at once. The player should stay in this state until the server sends a signal that the game is ready to be joined. This check isn't implemented yet.