Skip to content
Snippets Groups Projects
Commit 3cbdf04c authored by Brutzman, Don's avatar Brutzman, Don
Browse files

revised default method name to get timestamp

parent 3f8c4369
No related branches found
No related tags found
No related merge requests found
...@@ -199,7 +199,7 @@ public class BrennenstuhlEspduSender ...@@ -199,7 +199,7 @@ public class BrennenstuhlEspduSender
// update the timestamp on ALL packets sent. // update the timestamp on ALL packets sent.
// An alterative approach: actually follow the standard. It's a crazy concept, // An alterative approach: actually follow the standard. It's a crazy concept,
// but it might just work. // but it might just work.
int timestamp = DisTime.getCurrentDisAbsoluteTimestamp(); int timestamp = DisTime.getCurrentDisTimestamp();
espdu.setTimestamp(timestamp); espdu.setTimestamp(timestamp);
// Set the position of the entity in the world. DIS uses a cartesian // Set the position of the entity in the world. DIS uses a cartesian
......
...@@ -193,7 +193,7 @@ public class SchuttESPDUSender { ...@@ -193,7 +193,7 @@ public class SchuttESPDUSender {
// update the timestamp on ALL packets sent. // update the timestamp on ALL packets sent.
// An alterative approach: actually follow the standard. It's a crazy concept, // An alterative approach: actually follow the standard. It's a crazy concept,
// but it might just work. // but it might just work.
int timestamp = DisTime.getCurrentDisAbsoluteTimestamp(); int timestamp = DisTime.getCurrentDisTimestamp();
espdu.setTimestamp(timestamp); espdu.setTimestamp(timestamp);
// Set the position of the entity in the world. DIS uses a cartesian // Set the position of the entity in the world. DIS uses a cartesian
......
...@@ -195,7 +195,7 @@ public class Yurk_EspduSender ...@@ -195,7 +195,7 @@ public class Yurk_EspduSender
// update the timestamp on ALL packets sent. // update the timestamp on ALL packets sent.
// An alterative approach: actually follow the standard. It's a crazy concept, // An alterative approach: actually follow the standard. It's a crazy concept,
// but it might just work. // but it might just work.
int timestamp = DisTime.getCurrentDisAbsoluteTimestamp(); int timestamp = DisTime.getCurrentDisTimestamp();
espdu.setTimestamp(timestamp); espdu.setTimestamp(timestamp);
// Set the position of the entity in the world. DIS uses a cartesian // Set the position of the entity in the world. DIS uses a cartesian
......
...@@ -236,7 +236,7 @@ public class EspduSender ...@@ -236,7 +236,7 @@ public class EspduSender
// update the timestamp on ALL packets sent. // update the timestamp on ALL packets sent.
// An alterative approach: actually follow the standard. It's a crazy concept, // An alterative approach: actually follow the standard. It's a crazy concept,
// but it might just work. // but it might just work.
int timestamp = DisTime.getCurrentDisAbsoluteTimestamp(); int timestamp = DisTime.getCurrentDisTimestamp();
espdu.setTimestamp(timestamp); espdu.setTimestamp(timestamp);
// Set the position of the entity in the world. DIS uses a cartesian // Set the position of the entity in the world. DIS uses a cartesian
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment