summaryrefslogtreecommitdiff
path: root/Runtime/GameCode/DestroyDelayed.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/GameCode/DestroyDelayed.h')
-rw-r--r--Runtime/GameCode/DestroyDelayed.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Runtime/GameCode/DestroyDelayed.h b/Runtime/GameCode/DestroyDelayed.h
new file mode 100644
index 0000000..f017887
--- /dev/null
+++ b/Runtime/GameCode/DestroyDelayed.h
@@ -0,0 +1,10 @@
+#ifndef DESTROYDELAYED_H
+#define DESTROYDELAYED_H
+
+class Object;
+
+/// Destroys object in time seconds
+/// If time is not specified will be destroyed at the end of the frame
+void DestroyObjectDelayed (Object* o, float time = -100.0F);
+
+#endif