Esempio n. 1
0
 public MapDataStr(MapData mapData, string filePath, WoditerInfo woditerInfo, WoditerInfoStr woditerInfoStr)
 {
     Source         = woditerInfo;
     SourceStr      = woditerInfoStr;
     FilePath       = new OutputStructSentence("ファイルパス", filePath);
     MapID          = new OutputStructSentence("マップID", SetMapID(mapData, filePath));
     MapName        = new OutputStructSentence("マップ名", SetMapName(mapData, filePath));
     MapSize        = new OutputStructTable("マップサイズ", SetMapSizeHeader(), SetMapSizeData(mapData));
     Height         = mapData.Height;
     Width          = mapData.Width;
     TileSetID      = new OutputStructSentence("タイルセットID", mapData.TileSetID.ToString());
     MapLayerTables = new OutputStructTables("マップレイヤー", SetMapLayerTables(mapData.Layers));
     MapEventList   = SetMapEventList(mapData.Events, this);
 }
Esempio n. 2
0
 public MapTreeStr(MapTree mapTree, WoditerInfo woditerInfo, WoditerInfoStr woditerInfoStr)
 {
     Source      = woditerInfo;
     SourceStr   = woditerInfoStr;
     MapTreeStrs = new OutputStructTree <MapTreeNodeStr>("マップツリー", SetMapTreeNodesStrs(mapTree));
 }