diff options
Diffstat (limited to 'scene/resources/world_2d.h')
-rw-r--r-- | scene/resources/world_2d.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scene/resources/world_2d.h b/scene/resources/world_2d.h index d837ef58c2..c330719104 100644 --- a/scene/resources/world_2d.h +++ b/scene/resources/world_2d.h @@ -33,14 +33,13 @@ #include "core/project_settings.h" #include "core/resource.h" -#include "servers/physics_2d_server.h" +#include "servers/physics_server_2d.h" class VisibilityNotifier2D; class Viewport; struct SpatialIndexer2D; class World2D : public Resource { - GDCLASS(World2D, Resource); RID canvas; @@ -67,7 +66,7 @@ public: RID get_canvas(); RID get_space(); - Physics2DDirectSpaceState *get_direct_space_state(); + PhysicsDirectSpaceState2D *get_direct_space_state(); void get_viewport_list(List<Viewport *> *r_viewports); |