aboutsummaryrefslogtreecommitdiff
path: root/src/example/Aquarium.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/Aquarium.h
parent00f3ee853d94b607646e311d6bc9aca1736ab259 (diff)
Placed every class into seperate file
Diffstat (limited to 'src/example/Aquarium.h')
-rw-r--r--src/example/Aquarium.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/example/Aquarium.h b/src/example/Aquarium.h
new file mode 100644
index 0000000..8815e9c
--- /dev/null
+++ b/src/example/Aquarium.h
@@ -0,0 +1,13 @@
+#pragma once
+
+namespace crepe {
+class Scene;
+}
+
+class Aquarium {
+public:
+ float create(crepe::Scene & scn, float begin_x);
+
+private:
+ void add_background(crepe::Scene & scn, float begin_x);
+};