summaryrefslogtreecommitdiff
path: root/DiscoBot/Auxiliary/Talent.cs
diff options
context:
space:
mode:
authorKobert <Kassian.Kobert@gmail.com>2018-06-04 23:50:02 +0200
committerKobert <Kassian.Kobert@gmail.com>2018-06-04 23:50:02 +0200
commit58e3338cf0f1f454f8d59c37d9b1d7986c1cc696 (patch)
treef6519043d7311588816f92d0f2c26ea2074bd632 /DiscoBot/Auxiliary/Talent.cs
parentb07b3dcea813f28a9f0f345352d7bd4e60289c5e (diff)
parent7f55f6f289b5ab5b7fd4ac42b472b51a9a0e679e (diff)
Merge
Diffstat (limited to 'DiscoBot/Auxiliary/Talent.cs')
-rw-r--r--DiscoBot/Auxiliary/Talent.cs37
1 files changed, 0 insertions, 37 deletions
diff --git a/DiscoBot/Auxiliary/Talent.cs b/DiscoBot/Auxiliary/Talent.cs
deleted file mode 100644
index e93aa18..0000000
--- a/DiscoBot/Auxiliary/Talent.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-namespace DiscoBot.Auxiliary
-{
- using System;
-
- public class Talent // talent objekt
- {
- public Talent(string name, string probe, int value)
- {
- this.Name = name;
- this.Probe = probe;
- this.Value = value;
- }
-
- public string Name { get; set; }
-
- 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);
- }
-
- return temp;
- }
-
- public int CheckName(string quarry)
- {
- var sc = (StringComparer)new SpellCorrect();
- return sc.Compare(quarry, this.Name);
- }
- }
-}