// // AniGardenMapController.h // SteveMaggieCpp // // Created by Katarzyna Kalinowska-Górska on 17.05.2017. // // #ifndef AniGardenMapController_h #define AniGardenMapController_h #include "AniBasicMapController.h" #include "MapAdventureObjectPickupItem.h" class AniGardenMapController : public AniBasicMapController { public: AniGardenMapController(cocos2d::TMXTiledMap* p_map, IMapAdventureObjectMapper* p_adventureObjectMapper) : AniBasicMapController(p_map, p_adventureObjectMapper){}; void shuffleConcretePickupMapAdventureObjects(const std::vector objects); //just switch their places randomly void shuffleAllPickupMapAdventureObjects(const std::vector excludedObjects = {}); //just switch their places randomly void distributeConcretePickupMapAdventureObjectsRandomly(const std::vector objects); // distribute them randomly on the map void distributeAllPickupMapAdventureObjectsRandomly(const std::vector excludedObjects = {}); // distribute them randomly on the map std::vector generatePickupObjectsRandomly(int count, std::string baseName, std::string spriteFilePath, bool oneTileObjects); // void removePickupObjects(std::vector objectNames); void deactivateAllObjects(const std::vector excludedObjects = {}); void activateAllObjects(const std::vector excludedObjects = {}); void activateConcreteObjects(const std::vector objects); void showAllObjects(const std::vector excludedObjects = {}); void showConcreteObjects(const std::vector objects); void hideAllObjects(const std::vector excludedObjects = {}); void hideObject(MapAdventureObjectPickupItem* object); void showObject(MapAdventureObjectPickupItem* object); protected: std::vector getAllPickupItems(const std::vector except = {}); }; #endif /* AniGardenMapController_h */