aboutsummaryrefslogtreecommitdiff
path: root/src/example/Start.h
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-12-17 08:53:03 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-12-17 08:53:03 +0100
commit72f04cc18113785b8f57d95254d28e7d64d584aa (patch)
tree47b08f2f781d05679f76406df4838bf8697f7dc2 /src/example/Start.h
parent00f3ee853d94b607646e311d6bc9aca1736ab259 (diff)
Placed every class into seperate file
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);
+};