aboutsummaryrefslogtreecommitdiff
path: root/core/engine.h
diff options
context:
space:
mode:
authorAndreaCatania2017-09-30 16:19:07 +0200
committerAndreaCatania2017-09-30 16:19:07 +0200
commit4537977d6dd2a76580d9ab611a18634efab55c74 (patch)
tree387e51e9bb1ed9b322312243c8b7d520292f3122 /core/engine.h
parent4f39ce32b9195405f934445b20059e86632b47f9 (diff)
downloadgodot-4537977d6dd2a76580d9ab611a18634efab55c74.tar.gz
godot-4537977d6dd2a76580d9ab611a18634efab55c74.tar.zst
godot-4537977d6dd2a76580d9ab611a18634efab55c74.zip
Diffstat (limited to 'core/engine.h')
-rw-r--r--core/engine.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/engine.h b/core/engine.h
index 6f46ec892..3b4979582 100644
--- a/core/engine.h
+++ b/core/engine.h
@@ -49,10 +49,10 @@ class Engine {
int _target_fps;
float _time_scale;
bool _pixel_snap;
- uint64_t _fixed_frames;
+ uint64_t _physics_frames;
uint64_t _idle_frames;
- bool _in_fixed;
+ bool _in_physics;
bool editor_hint;
@@ -71,9 +71,9 @@ public:
uint64_t get_frames_drawn();
- uint64_t get_fixed_frames() const { return _fixed_frames; }
+ uint64_t get_physics_frames() const { return _physics_frames; }
uint64_t get_idle_frames() const { return _idle_frames; }
- bool is_in_fixed_frame() const { return _in_fixed; }
+ bool is_in_physics_frame() const { return _in_physics; }
uint64_t get_idle_frame_ticks() const { return _frame_ticks; }
float get_idle_frame_step() const { return _frame_step; }