diff options
Diffstat (limited to 'src/main/java/fr/umlv')
-rw-r--r-- | src/main/java/fr/umlv/java/wallj/viewer/Viewer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/fr/umlv/java/wallj/viewer/Viewer.java b/src/main/java/fr/umlv/java/wallj/viewer/Viewer.java index 0fee046..430bff7 100644 --- a/src/main/java/fr/umlv/java/wallj/viewer/Viewer.java +++ b/src/main/java/fr/umlv/java/wallj/viewer/Viewer.java | |||
@@ -28,7 +28,7 @@ import java.util.Objects; | |||
28 | * @author Adam NAILI | 28 | * @author Adam NAILI |
29 | */ | 29 | */ |
30 | public final class Viewer { | 30 | public final class Viewer { |
31 | private static final Duration FRAME_DURATION = Duration.ofMillis((long) 1000.0 / 60); | 31 | private static final Duration FRAME_DURATION = Duration.ofMillis(1000 / 60); |
32 | 32 | ||
33 | private final Game currentGame; | 33 | private final Game currentGame; |
34 | 34 | ||