From: Clyne Sullivan Date: Mon, 28 Sep 2015 12:15:18 +0000 (-0400) Subject: added dropping from platforms X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=2061c398aa801aa79eaa702b032daf1399483e9e;p=clyne%2Fgamedev.git added dropping from platforms --- 2061c398aa801aa79eaa702b032daf1399483e9e diff --cc src/entities.cpp index 140223d,d31f427..ab19c6f --- a/src/entities.cpp +++ b/src/entities.cpp @@@ -83,7 -83,10 +83,10 @@@ unsigned int Structures::spawn(int t, f std::cout<<"NPC:"<spawn(loc.x + (float)(i - 5) / 8,100); + entity[entity.size()-1]->spawn(loc.x + (float)(i - 5) / 8,100); + std::cout<<"Entity Type["<type<alive<