Loading src/main/java/org/example/newmat/GraphicsAndWindowsTest.java +6 −10 Original line number Diff line number Diff line package org.example.newmat; import Graph.readFile; import Shape.MovingObject; import Shape.VisibleWindow; import Shape.Obstacle; import Shape.ObstacleField; import Shape.VisibleWindow; import javafx.animation.AnimationTimer; import javafx.application.Application; import javafx.beans.property.DoubleProperty; import javafx.beans.property.SimpleDoubleProperty; import javafx.geometry.Bounds; import javafx.geometry.Point3D; import javafx.geometry.Pos; Loading @@ -19,17 +16,16 @@ import javafx.scene.input.KeyEvent; import javafx.scene.layout.StackPane; import javafx.scene.paint.Color; import javafx.scene.paint.PhongMaterial; import javafx.scene.shape.*; import javafx.scene.shape.Box; import javafx.scene.shape.Line; import javafx.scene.transform.Rotate; import javafx.scene.transform.Translate; import javafx.stage.Stage; import java.io.IOException; import java.util.Arrays; import java.util.List; import java.util.Random; import static java.lang.Math.*; import static java.lang.Math.abs; import static java.lang.Math.min; /** Loading Loading
src/main/java/org/example/newmat/GraphicsAndWindowsTest.java +6 −10 Original line number Diff line number Diff line package org.example.newmat; import Graph.readFile; import Shape.MovingObject; import Shape.VisibleWindow; import Shape.Obstacle; import Shape.ObstacleField; import Shape.VisibleWindow; import javafx.animation.AnimationTimer; import javafx.application.Application; import javafx.beans.property.DoubleProperty; import javafx.beans.property.SimpleDoubleProperty; import javafx.geometry.Bounds; import javafx.geometry.Point3D; import javafx.geometry.Pos; Loading @@ -19,17 +16,16 @@ import javafx.scene.input.KeyEvent; import javafx.scene.layout.StackPane; import javafx.scene.paint.Color; import javafx.scene.paint.PhongMaterial; import javafx.scene.shape.*; import javafx.scene.shape.Box; import javafx.scene.shape.Line; import javafx.scene.transform.Rotate; import javafx.scene.transform.Translate; import javafx.stage.Stage; import java.io.IOException; import java.util.Arrays; import java.util.List; import java.util.Random; import static java.lang.Math.*; import static java.lang.Math.abs; import static java.lang.Math.min; /** Loading