Exemplo n.º 1
0
 public void Exchange(JsonObject json)
 {
     ScoreBook.Exchange(json["ScoreBook"]);
     NoteBook.Exchange(json["NoteBook"]);
     MadcaMusicData.Exchange(json["MusicData"]);
     FumenAuthor      = json["FumenDesigner"];
     FumenDifficulity = FumenData.FumenDifficulity.Parse(typeof(FumenDifficulity), json["FumenDifficulity"]);
     FumenConstant    = double.Parse(json["FumenConstant"]);
     FumenLevel.Exchange(json["FumenLevel"]);
     StartBpm = double.Parse(json["StartBpm"]);
 }
Exemplo n.º 2
0
 public JsonObject Exchange()
 {
     return(new JsonObject()
     {
         ["ScoreBook"] = ScoreBook.Exchange(),
         ["NoteBook"] = NoteBook.Exchange(),
         ["MusicData"] = MadcaMusicData.Exchange(),
         ["FumenDesigner"] = FumenAuthor,
         ["FumenDifficulity"] = FumenDifficulity,
         ["FumenConstant"] = FumenConstant,
         ["FumenLevel"] = FumenLevel.Exchange(),
         ["StartBpm"] = StartBpm
     });
 }
Exemplo n.º 3
0
 public MadcaFumenData(
     ScoreBook scoreBook,
     NoteBook noteBook,
     MadcaMusicData madcaMusicData,
     string fumenAuthor,
     FumenDifficulity fumenDifficulity,
     double fumenConstant,
     FumenLevel fumenLevel,
     double startBpm)
 {
     ScoreBook        = scoreBook;
     NoteBook         = noteBook;
     MadcaMusicData   = madcaMusicData;
     FumenAuthor      = fumenAuthor;
     FumenDifficulity = fumenDifficulity;
     FumenConstant    = fumenConstant;
     FumenLevel       = fumenLevel;
     StartBpm         = startBpm;
 }