From 3cbdf04c311ae26cd2967a28f7483ad697981f0e Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Wed, 26 Jan 2022 21:28:19 -0800 Subject: [PATCH] revised default method name to get timestamp --- .../homework4/Brennenstuhl/BrennenstuhlEspduSender.java | 2 +- .../homework4/Schutt/SchuttESPDUSender.java | 2 +- .../homework4/Yurkovich/Yurk_EspduSender.java | 2 +- .../homework4/Britt/EspduSender.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assignments/src/MV3500Cohort2019JulySeptember/homework4/Brennenstuhl/BrennenstuhlEspduSender.java b/assignments/src/MV3500Cohort2019JulySeptember/homework4/Brennenstuhl/BrennenstuhlEspduSender.java index 7a54eeae1e..6c18c3dc72 100644 --- a/assignments/src/MV3500Cohort2019JulySeptember/homework4/Brennenstuhl/BrennenstuhlEspduSender.java +++ b/assignments/src/MV3500Cohort2019JulySeptember/homework4/Brennenstuhl/BrennenstuhlEspduSender.java @@ -199,7 +199,7 @@ public class BrennenstuhlEspduSender // update the timestamp on ALL packets sent. // An alterative approach: actually follow the standard. It's a crazy concept, // but it might just work. - int timestamp = DisTime.getCurrentDisAbsoluteTimestamp(); + int timestamp = DisTime.getCurrentDisTimestamp(); espdu.setTimestamp(timestamp); // Set the position of the entity in the world. DIS uses a cartesian diff --git a/assignments/src/MV3500Cohort2019JulySeptember/homework4/Schutt/SchuttESPDUSender.java b/assignments/src/MV3500Cohort2019JulySeptember/homework4/Schutt/SchuttESPDUSender.java index 77195121af..d2400df753 100644 --- a/assignments/src/MV3500Cohort2019JulySeptember/homework4/Schutt/SchuttESPDUSender.java +++ b/assignments/src/MV3500Cohort2019JulySeptember/homework4/Schutt/SchuttESPDUSender.java @@ -193,7 +193,7 @@ public class SchuttESPDUSender { // update the timestamp on ALL packets sent. // An alterative approach: actually follow the standard. It's a crazy concept, // but it might just work. - int timestamp = DisTime.getCurrentDisAbsoluteTimestamp(); + int timestamp = DisTime.getCurrentDisTimestamp(); espdu.setTimestamp(timestamp); // Set the position of the entity in the world. DIS uses a cartesian diff --git a/assignments/src/MV3500Cohort2019JulySeptember/homework4/Yurkovich/Yurk_EspduSender.java b/assignments/src/MV3500Cohort2019JulySeptember/homework4/Yurkovich/Yurk_EspduSender.java index 8455dffd87..fcc04f97ae 100644 --- a/assignments/src/MV3500Cohort2019JulySeptember/homework4/Yurkovich/Yurk_EspduSender.java +++ b/assignments/src/MV3500Cohort2019JulySeptember/homework4/Yurkovich/Yurk_EspduSender.java @@ -195,7 +195,7 @@ public class Yurk_EspduSender // update the timestamp on ALL packets sent. // An alterative approach: actually follow the standard. It's a crazy concept, // but it might just work. - int timestamp = DisTime.getCurrentDisAbsoluteTimestamp(); + int timestamp = DisTime.getCurrentDisTimestamp(); espdu.setTimestamp(timestamp); // Set the position of the entity in the world. DIS uses a cartesian diff --git a/assignments/src/MV3500Cohort2020JulySeptember/homework4/Britt/EspduSender.java b/assignments/src/MV3500Cohort2020JulySeptember/homework4/Britt/EspduSender.java index 14692b8b66..90242df3e4 100644 --- a/assignments/src/MV3500Cohort2020JulySeptember/homework4/Britt/EspduSender.java +++ b/assignments/src/MV3500Cohort2020JulySeptember/homework4/Britt/EspduSender.java @@ -236,7 +236,7 @@ public class EspduSender // update the timestamp on ALL packets sent. // An alterative approach: actually follow the standard. It's a crazy concept, // but it might just work. - int timestamp = DisTime.getCurrentDisAbsoluteTimestamp(); + int timestamp = DisTime.getCurrentDisTimestamp(); espdu.setTimestamp(timestamp); // Set the position of the entity in the world. DIS uses a cartesian -- GitLab