Add override keywords.
This commit is contained in:
@@ -315,7 +315,7 @@ protected:
|
||||
}
|
||||
|
||||
public:
|
||||
virtual void init() {
|
||||
virtual void init() 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) {
|
||||
virtual bool idle(float p_time) override {
|
||||
return false;
|
||||
}
|
||||
virtual void finish() {
|
||||
virtual void finish() override {
|
||||
}
|
||||
|
||||
TestPhysics2DMainLoop() {}
|
||||
|
||||
Reference in New Issue
Block a user