summaryrefslogtreecommitdiff
path: root/Runtime/BaseClasses/IsPlaying.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/BaseClasses/IsPlaying.h')
-rw-r--r--Runtime/BaseClasses/IsPlaying.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Runtime/BaseClasses/IsPlaying.h b/Runtime/BaseClasses/IsPlaying.h
new file mode 100644
index 0000000..740ffb8
--- /dev/null
+++ b/Runtime/BaseClasses/IsPlaying.h
@@ -0,0 +1,9 @@
+#ifndef ISPLAYING_H
+#define ISPLAYING_H
+
+/// Is the world playmode? (Otherwise we are in editor mode)
+bool EXPORT_COREMODULE IsWorldPlaying ();
+
+void SetIsWorldPlaying (bool isPlaying);
+
+#endif