summaryrefslogtreecommitdiff
path: root/DSALib/Talent.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DSALib/Talent.cs')
-rw-r--r--DSALib/Talent.cs19
1 files changed, 8 insertions, 11 deletions
diff --git a/DSALib/Talent.cs b/DSALib/Talent.cs
index bf1e52d..a39709c 100644
--- a/DSALib/Talent.cs
+++ b/DSALib/Talent.cs
@@ -4,9 +4,9 @@
{
public Talent(string name, string probe, int value)
{
- this.Name = name;
- this.Probe = probe;
- this.Value = value;
+ Name = name;
+ Probe = probe;
+ Value = value;
}
public string Name { get; set; }
@@ -14,18 +14,15 @@
public string Probe { get; set; }
public int Value { get; set; }
-
+
public string[] GetEigenschaften() // turn XX/XX/XX into string[]{XX,XX,XX}
{
- var temp = this.Probe.Split('/');
- for (var index = 0; index < temp.Length; index++)
- {
- temp[index] = temp[index].Replace("/", string.Empty);
- }
+ var temp = Probe.Split('/');
+ for (var index = 0; index < temp.Length; index++) temp[index] = temp[index].Replace("/", string.Empty);
return temp;
}
-
+
public bool IstFernkampftalent()
{
switch (Name)
@@ -45,4 +42,4 @@
}
}
}
-}
+} \ No newline at end of file