|
|
|
@ -6,6 +6,8 @@ import javafx.scene.control.TextField;
|
|
|
|
import javafx.scene.image.Image;
|
|
|
|
import javafx.scene.image.Image;
|
|
|
|
import javafx.scene.image.ImageView;
|
|
|
|
import javafx.scene.image.ImageView;
|
|
|
|
import javafx.scene.layout.AnchorPane;
|
|
|
|
import javafx.scene.layout.AnchorPane;
|
|
|
|
|
|
|
|
import javafx.scene.layout.GridPane;
|
|
|
|
|
|
|
|
import javafx.stage.Stage;
|
|
|
|
import mock.app.Event;
|
|
|
|
import mock.app.Event;
|
|
|
|
import org.xml.sax.SAXException;
|
|
|
|
import org.xml.sax.SAXException;
|
|
|
|
import mock.exceptions.EventConstructionException;
|
|
|
|
import mock.exceptions.EventConstructionException;
|
|
|
|
@ -103,6 +105,7 @@ public class HostController extends Controller {
|
|
|
|
* Hosts a game.
|
|
|
|
* Hosts a game.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void hostGame(){
|
|
|
|
public void hostGame(){
|
|
|
|
|
|
|
|
mapImage.fitWidthProperty().bind(((Stage) mapImage.getScene().getWindow()).widthProperty().multiply(0.6));
|
|
|
|
hostWrapper.setVisible(true);
|
|
|
|
hostWrapper.setVisible(true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|