NPC::NPC() : Entity() , name("") , gfx("") , pos() , level(1) , direction(0) , talker(false) , vendor(false) , stock() , stock_count(0) , vox_intro() , vox_quests() , dialog() { stock.init(NPC_VENDOR_MAX_STOCK); }
NPC::NPC(MapRenderer *_map, ItemManager *_items) : Entity(_map) , items(_items) , name("") , gfx("") , pos(Point()) , level(1) , direction(0) , portrait(NULL) , talker(false) , vendor(false) , stock(ItemStorage()) , stock_count(0) , vox_intro(vector<SoundManager::SoundID>()) , vox_quests(vector<SoundManager::SoundID>()) , dialog(vector<vector<Event_Component> >()) { stock.init(NPC_VENDOR_MAX_STOCK, _items); }