From 93d6035dad1eb60fb01648232809e55059dd1cfa Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 15 Mar 2016 08:43:44 -0400 Subject: hills --- include/world.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/world.h b/include/world.h index a60eab6..55c08f5 100644 --- a/include/world.h +++ b/include/world.h @@ -421,8 +421,15 @@ public: void addHole(unsigned int start,unsigned int end); - /* - * Get's the world's width. + /** + * Adds a hill to the world, given the peak's coordinates and how wide the + * hill can be. + */ + + void addHill( ivec2 peak, unsigned int width ); + + /** + * Gets the world's width. */ int getTheWidth(void) const; -- cgit v1.2.3