package seng302;

/**
 * Constants that are used throughout the program
 * Created by Erika on 19-Mar-17.
 */
public class Constants {

    /**
    * Multiply by this factor to convert nautical miles to meters.
    * <br>
    * Divide by this factor to convert meters to nautical miles.
     * <br>
    * 1 nautical mile = 1852 meters.
    */
    public static final int NMToMetersConversion = 1852;



    /**
    * Multiply by this factor to convert Knots to millimeters per second.
     * <br>
    * Divide by this factor to convert millimeters per second to Knots.
     * <br>
    * 1 knot = 514.444 millimeters per second.
    */
    public static final double KnotsToMMPerSecond = 514.444;


    /**
     * The race pre-start time, in milliseconds. 3 minutes.
     */
    public static final long RacePreStartTime = 3 * 60 * 1000;


    /**
     * The race preparatory time, in milliseconds. 1 minutes.
     */
    public static final long RacePreparatoryTime = 1 * 60 * 1000;


    /**
     * The number of milliseconds in one hour.
     */
    public static long OneHourMilliseconds = 1 * 60 * 60 * 1000;



}
