Blame view

ios/Runner/Wowgame/Classes/game_animal/MapAdventureObjectJumpSpot.cpp 705 Bytes
5daad4bc   xiaoyu   游戏源码添加编译(现存问题:游戏内...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  //
  //  MapAdventureObjectJumpSpot.cpp
  //  WattsenglishFoodApp
  //
  //  Created by Katarzyna Kalinowska-Górska on 21/03/2020.
  //
  
  #include "AniMapUtils.h"
  #include "MapAdventureObjectJumpSpot.h"
  
  
  
  std::vector<AniMapUtils::TileData> MapAdventureObjectJumpSpot::getEntryTiles()  const {
      return m_occupiedTiles;
  }
  
  MapAdventureObjectJumpSpot::MapAdventureObjectJumpSpot(const rapidjson::Value& p_mapObjectData) : IMapAdventureObject(p_mapObjectData) {
      m_objectClassName = "MapAdventureObjectJumpSpot";
      
      m_occupiedTiles = AniJSONParseUtilsMap::parseTileDataArray(p_mapObjectData["occupiedPoints"]);
      m_endStandTile = AniJSONParseUtilsMap::parseTileData(p_mapObjectData["endStandPoint"]);
  }