done
This commit is contained in:
parent
dfde6a71b7
commit
16cc086e0b
@ -85,7 +85,7 @@ public class ControllerMapWithSetBoats {
|
||||
|
||||
Stage stageBoat = new Stage();
|
||||
FXMLLoader fxmlLoader = new FXMLLoader(FormBoat.class.getResource("form-boat-view.fxml"));
|
||||
Scene sceneBoat = new Scene(fxmlLoader.load(), 320, 240);
|
||||
Scene sceneBoat = new Scene(fxmlLoader.load(), 500, 400);
|
||||
|
||||
FirstUpdateBoatGUI(sceneBoat, stageBoat, fxmlLoader);
|
||||
|
||||
|
@ -143,8 +143,7 @@ public class ControllerSetMixedBoats {
|
||||
_boat.DrawTransport(gc);
|
||||
}
|
||||
}
|
||||
private void SetData()
|
||||
{
|
||||
private void SetData() {
|
||||
Random rnd = new Random();
|
||||
_boat.SetPosition(rnd.nextInt(90) + 10, rnd.nextInt(90),
|
||||
(int) canvas.getWidth(), (int) canvas.getHeight());
|
||||
|
Loading…
Reference in New Issue
Block a user