diff options
| author | Juan Linietsky | 2017-07-15 01:23:10 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-07-15 08:32:34 -0300 |
| commit | 2e73be99d8d86d9dad7bcb99518a4d3cbb5c373c (patch) | |
| tree | d863db50852afe5d4b0bc15b8452054498004cb1 /core/engine.h | |
| parent | e64b82ebfcc3475c7a7d2a9196bfe20d6c9e3614 (diff) | |
| download | godot-2e73be99d8d86d9dad7bcb99518a4d3cbb5c373c.tar.gz godot-2e73be99d8d86d9dad7bcb99518a4d3cbb5c373c.tar.zst godot-2e73be99d8d86d9dad7bcb99518a4d3cbb5c373c.zip | |
Diffstat (limited to 'core/engine.h')
| -rw-r--r-- | core/engine.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/engine.h b/core/engine.h index 80b11c095..16dfb7759 100644 --- a/core/engine.h +++ b/core/engine.h @@ -42,6 +42,8 @@ class Engine { String _custom_level; uint64_t frames_drawn; uint32_t _frame_delay; + uint64_t _frame_ticks; + float _frame_step; int ips; float _fps; @@ -72,6 +74,8 @@ public: uint64_t get_fixed_frames() const { return _fixed_frames; } uint64_t get_idle_frames() const { return _idle_frames; } bool is_in_fixed_frame() const { return _in_fixed; } + uint64_t get_idle_frame_ticks() const { return _frame_ticks; } + float get_idle_frame_step() const { return _frame_step; } void set_time_scale(float p_scale); float get_time_scale() const; |
