diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-12-17 08:53:03 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-12-17 08:53:03 +0100 |
commit | 72f04cc18113785b8f57d95254d28e7d64d584aa (patch) | |
tree | 47b08f2f781d05679f76406df4838bf8697f7dc2 /src/example/Forest.h | |
parent | 00f3ee853d94b607646e311d6bc9aca1736ab259 (diff) |
Placed every class into seperate file
Diffstat (limited to 'src/example/Forest.h')
-rw-r--r-- | src/example/Forest.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/example/Forest.h b/src/example/Forest.h new file mode 100644 index 0000000..f612c91 --- /dev/null +++ b/src/example/Forest.h @@ -0,0 +1,15 @@ +#pragma once + +#include <string> + +namespace crepe { +class Scene; +} + +class Forest { +public: + float create(crepe::Scene & scn, float begin_x, std::string unique_bg_name); + +private: + void add_background(crepe::Scene & scn, float begin_x, std::string name); +}; |