diff options
Diffstat (limited to 'scene/main/node.h')
-rw-r--r-- | scene/main/node.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/scene/main/node.h b/scene/main/node.h index b800d2401e..8aa56aa97f 100644 --- a/scene/main/node.h +++ b/scene/main/node.h @@ -122,9 +122,6 @@ private: int network_master = 1; // Server by default. Vector<MultiplayerAPI::RPCConfig> rpc_methods; - double process_cumulative_time = 0.0; - double physics_process_cumulative_time = 0.0; - // Variables used to properly sort the node when processing, ignored otherwise. // TODO: Should move all the stuff below to bits. bool physics_process = false; @@ -211,6 +208,12 @@ protected: void _set_owner_nocheck(Node *p_owner); void _set_name_nocheck(const StringName &p_name); + GDVIRTUAL1(_process, double) + GDVIRTUAL1(_physics_process, double) + GDVIRTUAL0(_enter_tree) + GDVIRTUAL0(_exit_tree) + GDVIRTUAL0(_ready) + GDVIRTUAL0RC(Vector<String>, _get_configuration_warnings) public: enum { // you can make your own, but don't use the same numbers as other notifications in other nodes @@ -344,14 +347,10 @@ public: /* PROCESSING */ void set_physics_process(bool p_process); double get_physics_process_delta_time() const; - double get_physics_process_cumulative_time() const; - double get_physics_process_total_time() const; bool is_physics_processing() const; void set_process(bool p_process); double get_process_delta_time() const; - double get_process_cumulative_time() const; - double get_process_total_time() const; bool is_processing() const; void set_physics_process_internal(bool p_process_internal); |