Package eu.svjatoslav.sixth.e3d.gui
Class ViewUpdateTimerTask
java.lang.Object
java.util.TimerTask
eu.svjatoslav.sixth.e3d.gui.ViewUpdateTimerTask
- All Implemented Interfaces:
Runnable
Timer task that updates view.
Tries to keep constant FPS.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionViewUpdateTimerTask(ViewPanel viewPanel) Creates a new timer task for the given view panel. -
Method Summary
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Field Details
-
viewPanel
The view panel to update.
-
-
Constructor Details
-
ViewUpdateTimerTask
Creates a new timer task for the given view panel.- Parameters:
viewPanel- the view panel to update
-
-
Method Details