You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.8 KiB
37 lines
1.8 KiB
package seng302;
|
|
|
|
import javafx.scene.paint.Color;
|
|
import seng302.Model.BoatInRace;
|
|
import seng302.Model.Leg;
|
|
|
|
/**
|
|
* Constants that are used throughout the program
|
|
* Created by Erika on 19-Mar-17.
|
|
*/
|
|
public class Constants {
|
|
|
|
public static final int NMToMetersConversion = 1852; //nautical miles
|
|
|
|
public static final GPSCoordinate startLineMarker1 = new GPSCoordinate(32.296577, -64.854304);
|
|
public static final GPSCoordinate startLineMarker2 = new GPSCoordinate(32.293771, -64.855242);
|
|
|
|
public static final GPSCoordinate mark1 = new GPSCoordinate(32.293039, -64.843983);
|
|
|
|
public static final GPSCoordinate windwardGate1 = new GPSCoordinate(32.284680, -64.850045);
|
|
public static final GPSCoordinate windwardGate2 = new GPSCoordinate(32.280164, -64.847591);
|
|
public static final GPSCoordinate leewardGate1 = new GPSCoordinate(32.309693, -64.835249);
|
|
public static final GPSCoordinate leewardGate2 = new GPSCoordinate(32.308046, -64.831785);
|
|
public static final GPSCoordinate finishLineMarker1 = new GPSCoordinate(32.317379, -64.839291);
|
|
public static final GPSCoordinate finishLineMarker2 = new GPSCoordinate(32.317257, -64.836260);
|
|
|
|
public static final BoatInRace[] OFFICIAL_AC35_COMPETITORS = new BoatInRace[]
|
|
{new BoatInRace("Oracle Team USA", 300.0, Color.BLUEVIOLET, "USA"),
|
|
new BoatInRace("Land Rover BAR", 500.0, Color.BLACK, "BAR"),
|
|
new BoatInRace("SoftBank Team Japan", 400.0, Color.RED, "JAP"),
|
|
new BoatInRace("Groupama Team France", 350.0, Color.ORANGE, "FRN"),
|
|
new BoatInRace("Artemis Racing", 440.0, Color.DARKOLIVEGREEN, "ART"),
|
|
new BoatInRace("Emirates Team New Zealand", 620, Color.LIMEGREEN, "ENZ")};
|
|
|
|
//public static final Leg bermudaCourseStartToMark1 = new Leg(0, , new )
|
|
}
|