diff options
Diffstat (limited to 'src/gameplay.cpp')
-rw-r--r-- | src/gameplay.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gameplay.cpp b/src/gameplay.cpp index 92d1284..52aceb8 100644 --- a/src/gameplay.cpp +++ b/src/gameplay.cpp @@ -120,9 +120,11 @@ void initEverything(void){ test->addHole(100,150); //} + test->setBackground(BG_FOREST); test->addLayer(400); playerSpawnHill->generateFunc(1280,playerSpawnHillFunc); + playerSpawnHill->setBackground(BG_FOREST); //playerSpawnHill->generate(1920); /* @@ -158,7 +160,7 @@ void initEverything(void){ test->addMob(MS_RABBIT,200,100); test->addMob(MS_BIRD,-500,500); - currentWorld->addObject(SWORD_WOOD, 500,200); + currentWorld->addObject(SWORD_WOOD, false, NULL, 500,200); currentWorld->addObject(FLASHLIGHT, true, "This looks important, do you want to pick it up?",600,200); /* * Link all the entities that were just created to the initial world, and setup a test AI function. |