Rename MainLoop methods to match Node methods
This commit is contained in:
parent
6532596d97
commit
d9e9eb8d04
27 changed files with 179 additions and 184 deletions
|
|
@ -315,7 +315,7 @@ protected:
|
|||
}
|
||||
|
||||
public:
|
||||
virtual void init() override {
|
||||
virtual void initialize() override {
|
||||
RenderingServer *vs = RenderingServer::get_singleton();
|
||||
PhysicsServer2D *ps = PhysicsServer2D::get_singleton();
|
||||
|
||||
|
|
@ -389,10 +389,10 @@ public:
|
|||
//_add_plane(Vector2(-1,0).normalized(),-600);
|
||||
}
|
||||
|
||||
virtual bool idle(float p_time) override {
|
||||
virtual bool process(float p_time) override {
|
||||
return false;
|
||||
}
|
||||
virtual void finish() override {
|
||||
virtual void finalize() override {
|
||||
}
|
||||
|
||||
TestPhysics2DMainLoop() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue