Skip to content
Snippets Groups Projects
Commit 1703e017 authored by Sebastian Schwarz's avatar Sebastian Schwarz
Browse files

Summaries class Cards added

parent 739eed59
No related branches found
No related tags found
No related merge requests found
...@@ -82,8 +82,6 @@ namespace Levenshtein ...@@ -82,8 +82,6 @@ namespace Levenshtein
for (var i = 0; i < _cards.Count; i++) for (var i = 0; i < _cards.Count; i++)
{ {
System.Console.WriteLine(_cards.Count);
System.Console.WriteLine(i);
foreach (string reference in _references) foreach (string reference in _references)
{ {
Levenshtein l = new Levenshtein(_cards[i].Name, reference); Levenshtein l = new Levenshtein(_cards[i].Name, reference);
......
...@@ -10,11 +10,25 @@ namespace Levenshtein ...@@ -10,11 +10,25 @@ namespace Levenshtein
/// Data structure for holding the card's information /// Data structure for holding the card's information
/// </summary> /// </summary>
public class Cards public class Cards
{ { /// <summary>
/// Gets and sets the name
/// </summary>
public string Name { get; set; } public string Name { get; set; }
/// <summary>
/// Gets and inits the Mana
/// </summary>
public string Mana { get; init; } public string Mana { get; init; }
/// <summary>
/// Gets and inits the cumulative mana costs
/// </summary>
public double Cmc { get; init; } public double Cmc { get; init; }
/// <summary>
/// Gets and inits the Type
/// </summary>
public string Type { get; init; } public string Type { get; init; }
/// <summary>
/// Gets and inits the Count
/// </summary>
public double Count { get; init; } public double Count { get; init; }
} }
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment