|
public void update(float delta) { |
|
long current = time.getGameTimeInMs(); |
|
if (current > lastCheck + CHECK_INTERVAL) { |
I read this as checking the time in-world. As a client-side notification system, should it be using wall-clock time as determined by the client instead?
e.g. I would expect a ten second notification to always show for ten seconds, regardless if game time skips ahead or rewinds or whatever.
Notifications/src/main/java/org/terasology/notifications/NotificationClientSystem.java
Lines 69 to 71 in 97291ad
I read this as checking the time in-world. As a client-side notification system, should it be using wall-clock time as determined by the client instead?
e.g. I would expect a ten second notification to always show for ten seconds, regardless if game time skips ahead or rewinds or whatever.