summaryrefslogtreecommitdiff
path: root/scene/resources/world_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/world_2d.h')
-rw-r--r--scene/resources/world_2d.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/resources/world_2d.h b/scene/resources/world_2d.h
index 3feb23495d..865ec28fe9 100644
--- a/scene/resources/world_2d.h
+++ b/scene/resources/world_2d.h
@@ -30,7 +30,7 @@
#define WORLD_2D_H
#include "resource.h"
-
+#include "servers/physics_2d_server.h"
class SpatialIndexer2D;
class VisibilityNotifier2D;
@@ -68,6 +68,8 @@ public:
RID get_space();
RID get_sound_space();
+ Physics2DDirectSpaceState *get_direct_space_state();
+
World2D();
~World2D();
};