summaryrefslogtreecommitdiff
path: root/dsa/DSALib/Models/Dsa/Talent.cs
diff options
context:
space:
mode:
authorDennis Kobert <d-kobert@web.de>2019-06-12 21:47:51 +0200
committerDennis Kobert <d-kobert@web.de>2019-06-12 21:47:51 +0200
commit304437b834e8c87687f68333ae67a13ee1377a73 (patch)
tree51dd246568e8a159627d9cb92e99890adb5cbef8 /dsa/DSALib/Models/Dsa/Talent.cs
parent2fa4a0e50ebfc97059c8b84dbd17e79f9afc8a8d (diff)
Adjust Codestyle
Diffstat (limited to 'dsa/DSALib/Models/Dsa/Talent.cs')
-rw-r--r--dsa/DSALib/Models/Dsa/Talent.cs16
1 files changed, 7 insertions, 9 deletions
diff --git a/dsa/DSALib/Models/Dsa/Talent.cs b/dsa/DSALib/Models/Dsa/Talent.cs
index 5771a74..74fc844 100644
--- a/dsa/DSALib/Models/Dsa/Talent.cs
+++ b/dsa/DSALib/Models/Dsa/Talent.cs
@@ -1,9 +1,9 @@
-namespace DSALib.Models.Dsa
-{
- public class Talent : Database.DataObject // talent objekt
+using DSALib.Models.Database;
+
+namespace DSALib.Models.Dsa {
+ public class Talent : DataObject // talent objekt
{
- public Talent(string name, string probe, int value)
- {
+ public Talent(string name, string probe, int value) {
Name = name;
Probe = probe;
Value = value;
@@ -21,10 +21,8 @@
return temp;
}
- public bool IstFernkampftalent()
- {
- switch (Name)
- {
+ public bool IstFernkampftalent() {
+ switch (Name) {
case "Armbrust":
case "Belagerungswaffen":
case "Blasrohr":