aboutsummaryrefslogtreecommitdiff
path: root/engine/src/desktop/jme3tools/navigation/RLSailing.java
blob: 1a9a91ccbcdd0379350e1872293212fb41986e8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jme3tools.navigation;

/**
 * A utility class to package up a rhumb line sailing
 * 
 * @author Benjamin Jakobus, based on JMarine (by Cormac Gebruers and Benjamin
 *          Jakobus)
 * @version 1.0
 * @since 1.0
 */
public class RLSailing {

    private double course;
    private double distNM;

    public RLSailing(double pCourse, double pDistNM) {
        course = pCourse;
        distNM = pDistNM;
    }

    public double getCourse() {
        return course;
    }

    public double getDistNM() {
        return distNM;
    }
}