aboutsummaryrefslogtreecommitdiffstats
path: root/include/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/world.h')
-rw-r--r--include/world.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/world.h b/include/world.h
index 85b02c9..81ec335 100644
--- a/include/world.h
+++ b/include/world.h
@@ -82,6 +82,7 @@ public:
*/
virtual void generate(unsigned int width);
+ void generateFunc(unsigned int width,unsigned int (*func)(unsigned int));
/*
* Looks for the furthest back layer in this world and adds a new layer of width `width` behind it.