aboutsummaryrefslogtreecommitdiff
path: root/src/example/Start.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/example/Start.h')
-rw-r--r--src/example/Start.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/example/Start.h b/src/example/Start.h
new file mode 100644
index 0000000..37d1141
--- /dev/null
+++ b/src/example/Start.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#include <crepe/types.h>
+
+namespace crepe {
+class Scene;
+class GameObject;
+} // namespace crepe
+
+class Start {
+public:
+ float create(crepe::Scene & scn, float begin_x);
+
+private:
+ void add_lamp(crepe::GameObject & obj, crepe::vec2 offset, unsigned int fps = 10);
+};