diff options
Diffstat (limited to 'tests/test_physics_2d.cpp')
| -rw-r--r-- | tests/test_physics_2d.cpp | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_physics_2d.cpp b/tests/test_physics_2d.cpp index d40df52f1b..570e1897d6 100644 --- a/tests/test_physics_2d.cpp +++ b/tests/test_physics_2d.cpp @@ -5,8 +5,8 @@  /*                           GODOT ENGINE                                */  /*                      https://godotengine.org                          */  /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur.                 */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md).   */ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur.                 */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md).   */  /*                                                                       */  /* Permission is hereby granted, free of charge, to any person obtaining */  /* a copy of this software and associated documentation files (the       */ @@ -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() {}  |