MapAdventureObjectLog.cpp
729 Bytes
//
// MapAdventureObjectSlide.cpp
// WattsenglishFoodApp
//
// Created by Katarzyna Kalinowska-Górska on 21/03/2020.
//
#include "AniMapUtils.h"
#include "MapAdventureObjectLog.h"
MapAdventureObjectLog::MapAdventureObjectLog(const rapidjson::Value& p_mapObjectData, IMapImageObject* p_mapImageObject, IMapImageObject* p_hintMapImageObject) : MapAdventureObjectRotatingEnd(p_mapObjectData, p_mapImageObject, p_hintMapImageObject) {
m_objectClassName = "MapAdventureObjectLog";
// m_tilesToUnlock = JSONParseUtilsMap::parseTileDataArray(p_mapObjectData["tilesToUnlock"]);
}
void MapAdventureObjectLog::performOnRotationComplete(){
// just re-enable the tiles and deactivate
m_active = false;
}