aboutsummaryrefslogtreecommitdiffstats
path: root/include/world.hpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-04-26 15:25:03 -0400
committerClyne Sullivan <tullivan99@gmail.com>2016-04-26 15:25:03 -0400
commit88c21e763178856aef0155595d49085919205951 (patch)
treee3bcd6caa28bf0014eeccd3a3c8582ec2b1b7e7c /include/world.hpp
parent202285e89814929e551f9568b84212282b5883fe (diff)
mobs are a-okay
Diffstat (limited to 'include/world.hpp')
-rw-r--r--include/world.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/world.hpp b/include/world.hpp
index dc8d497..b99e9ab 100644
--- a/include/world.hpp
+++ b/include/world.hpp
@@ -159,7 +159,7 @@ public:
virtual ~World(void);
// generates a world of the specified width
- void generate(unsigned int width);
+ void generate(int width);
// draws everything to the screen
virtual void draw(Player *p);
@@ -233,8 +233,9 @@ public:
void addMerchant(float x, float y, bool housed);
- void addMob(int type, float x, float y);
- void addMob(int type, float x, float y, void (*hey)(Mob *));
+ //void addMob(int type, float x, float y);
+ //void addMob(int type, float x, float y, void (*hey)(Mob *));
+ void addMob(Mob *m, vec2 coord);
void addNPC(float x, float y);