mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 56d18ad8ad |
@@ -104,6 +104,7 @@ public class ServerYacht {
|
|||||||
* @param secondsElapsed The seconds elapsed since the last update of this yacht
|
* @param secondsElapsed The seconds elapsed since the last update of this yacht
|
||||||
*/
|
*/
|
||||||
public void updateLocation(Double secondsElapsed) {
|
public void updateLocation(Double secondsElapsed) {
|
||||||
|
//test
|
||||||
lastLocation = location;
|
lastLocation = location;
|
||||||
location = GeoUtility.getGeoCoordinate(location, heading, currentVelocity * secondsElapsed);
|
location = GeoUtility.getGeoCoordinate(location, heading, currentVelocity * secondsElapsed);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user