Some javadoc warning fixes.
This commit is contained in:
@@ -66,6 +66,7 @@ public class Event {
|
|||||||
* Constructs an event, using various XML files.
|
* Constructs an event, using various XML files.
|
||||||
* @param singlePlayer Whether or not to create a single player event.
|
* @param singlePlayer Whether or not to create a single player event.
|
||||||
* @param mapIndex Specifies which map to use.
|
* @param mapIndex Specifies which map to use.
|
||||||
|
* @param raceLength The length of the race, in milliseconds.
|
||||||
* @throws EventConstructionException Thrown if we cannot create an Event for any reason.
|
* @throws EventConstructionException Thrown if we cannot create an Event for any reason.
|
||||||
*/
|
*/
|
||||||
public Event(boolean singlePlayer, int mapIndex, int raceLength) throws
|
public Event(boolean singlePlayer, int mapIndex, int raceLength) throws
|
||||||
|
|||||||
@@ -177,10 +177,10 @@ public class RaceXMLCreator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gets the destance between two marks
|
* gets the destance between two marks, in nautical miles.
|
||||||
* @param a mark 1
|
* @param a mark 1
|
||||||
* @param b mark 2
|
* @param b mark 2
|
||||||
* @return
|
* @return Distance in nautical miles.
|
||||||
*/
|
*/
|
||||||
private static double getDistance(XMLMark a, XMLMark b){
|
private static double getDistance(XMLMark a, XMLMark b){
|
||||||
GPSCoordinate coorda = new GPSCoordinate(a.getTargetLat(), a.getTargetLng());
|
GPSCoordinate coorda = new GPSCoordinate(a.getTargetLat(), a.getTargetLng());
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ public class HealthEffect extends Subject3D {
|
|||||||
* Flash the mesh view at a certain interval
|
* Flash the mesh view at a certain interval
|
||||||
* @param checkTime The current time of flash
|
* @param checkTime The current time of flash
|
||||||
* @param flashInterval Desired flash interval
|
* @param flashInterval Desired flash interval
|
||||||
|
* @param playerBoat Whether or not this effect is for the player's boat.
|
||||||
*/
|
*/
|
||||||
public void flash(long checkTime, long flashInterval, boolean playerBoat){
|
public void flash(long checkTime, long flashInterval, boolean playerBoat){
|
||||||
if(checkTime >= (currentTime+flashInterval)){
|
if(checkTime >= (currentTime+flashInterval)){
|
||||||
|
|||||||
Reference in New Issue
Block a user