aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-11-13 08:49:37 -0500
committerClyne Sullivan <tullivan99@gmail.com>2015-11-13 08:49:37 -0500
commit5b41789c0e129c1e276917ef91ed53a1559cf31b (patch)
treedb16627d239cda95cdbf9e3a597113bc996805d5 /src/gameplay.cpp
parent180733d411b0844e878574e4c9f9b34690510367 (diff)
parenta32339dc700759ab44a360953c9c24d009b11ecc (diff)
major font fixes
Diffstat (limited to 'src/gameplay.cpp')
-rw-r--r--src/gameplay.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gameplay.cpp b/src/gameplay.cpp
index 4e67bb8..fcc501c 100644
--- a/src/gameplay.cpp
+++ b/src/gameplay.cpp
@@ -5,7 +5,6 @@
extern World *currentWorld;
extern Player *player;
-
extern void mainLoop(void);
void waitForDialog(void){
@@ -52,7 +51,6 @@ void initEverything(void){
/*
* World creation:
*/
-
World *test=new World();
World *playerSpawnHill=new World();
@@ -109,8 +107,10 @@ void initEverything(void){
* Spawn a mob.
*/
- currentWorld->addMob(MS_RABBIT,200,100);
- currentWorld->addMob(MS_BIRD,-500,500);
+ test->addMob(MS_RABBIT,200,100);
+ test->addMob(MS_BIRD,-500,500);
+
+ currentWorld->addObject(2, 500,200);
/*
* Link all the entities that were just created to the initial world, and setup a test AI function.