diff options
Diffstat (limited to 'main/performance.h')
| -rw-r--r-- | main/performance.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/main/performance.h b/main/performance.h index 8b5626b68..03bec1129 100644 --- a/main/performance.h +++ b/main/performance.h @@ -34,18 +34,17 @@ #define PERF_WARN_OFFLINE_FUNCTION #define PERF_WARN_PROCESS_SYNC - class Performance : public Object { - GDCLASS(Performance,Object); + GDCLASS(Performance, Object); static Performance *singleton; static void _bind_methods(); float _process_time; float _fixed_process_time; -public: +public: enum Monitor { TIME_FPS, @@ -79,7 +78,6 @@ public: MONITOR_MAX }; - float get_monitor(Monitor p_monitor) const; String get_monitor_name(Monitor p_monitor) const; @@ -89,10 +87,8 @@ public: static Performance *get_singleton() { return singleton; } Performance(); - }; -VARIANT_ENUM_CAST( Performance::Monitor ); - +VARIANT_ENUM_CAST(Performance::Monitor); #endif // PERFORMANCE_H |
