public GroundObject() { int x = RandomsValues.getRandomStartCoordinate(); int y = RandomsValues.getRandomStartCoordinate(); location = new Point(x, y); }
public Plane() { this.onTheFly = true; this.speed = RandomsValues.getRandomSpeed(); this.degree = RandomsValues.getRandomDegree(); this.name = RandomsValues.getRandomName(); this.course = new Course(new Point(RandomsValues.getRandomStartCoordinate(), RandomsValues.getRandomStartCoordinate())); }