mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Refactored to use CyberarmEngine::Window#delta_time instead of our reimplementing it, add WIP frame timing to Overlay using CyberarmEngine::Stats.frames data
This commit is contained in:
@@ -11,7 +11,7 @@ class IMICFPS
|
||||
end
|
||||
|
||||
def delta_time
|
||||
(Gosu.milliseconds - window.delta_time) / 1000.0
|
||||
window.delta_time
|
||||
end
|
||||
|
||||
def button_down?(id)
|
||||
|
||||
Reference in New Issue
Block a user