Exemplo n.º 1
0
 public static Puzzle FromJSON(JSONNode json)
 {
     return(new Puzzle {
         Board = Board.FromJSON(json["board"]),
         Rules = GameRules.FromJSON(json["rules"]),
         Types = PieceType.FromJSONArray(json["types"].AsArray)
     });
 }