Set up controller classes for lobby and host. Made changes to TitleController and MainController. Title screen can now enter lobby and host.

#story[1087]
This commit is contained in:
David Wu
2017-07-25 16:15:32 +12:00
parent 913946265d
commit 9159e16a21
10 changed files with 211 additions and 78 deletions
@@ -0,0 +1,29 @@
package visualiser.Controllers;
import javafx.fxml.FXML;
import javafx.scene.layout.AnchorPane;
import java.net.URL;
import java.util.ResourceBundle;
/**
* Created by zwu18 on 25/07/17.
*/
public class LobbyController extends Controller {
@FXML
AnchorPane lobbyWrapper;
@Override
public void initialize(URL location, ResourceBundle resources) {
}
public AnchorPane startWrapper(){
return lobbyWrapper;
}
public void enterLobby(){
lobbyWrapper.setVisible(true);
}
}