summaryrefslogtreecommitdiff
path: root/DSALib/Talent.cs
diff options
context:
space:
mode:
authornatrixaeria <janng@gmx.de>2019-05-19 17:40:59 +0200
committernatrixaeria <janng@gmx.de>2019-05-19 17:40:59 +0200
commit1509b5ef3d7e9e71d9294e234ec0e39f2d831998 (patch)
tree78300ffff230958101b422a4e6026925b287822f /DSALib/Talent.cs
parentc3bb858bb54dc8c64bbd48054c2c58dc0073f09c (diff)
parentc4d046858e0822b7c2c540ac2368b2c0e88e7a26 (diff)
Merge branch 'scribble' of https://github.com/TrueDoctor/DiscoBot into scribble
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