summaryrefslogtreecommitdiff
path: root/DSALib/Talent.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DSALib/Talent.cs')
-rw-r--r--DSALib/Talent.cs48
1 files changed, 0 insertions, 48 deletions
diff --git a/DSALib/Talent.cs b/DSALib/Talent.cs
deleted file mode 100644
index bf1e52d..0000000
--- a/DSALib/Talent.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-namespace DSALib
-{
- 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 bool IstFernkampftalent()
- {
- switch (Name)
- {
- case "Armbrust":
- case "Belagerungswaffen":
- case "Blasrohr":
- case "Bogen":
- case "Diskus":
- case "Schleuder":
- case "Wurfbeile":
- case "Wurfmesser":
- case "Wurfspeere":
- return true;
- default:
- return false;
- }
- }
- }
-}