diff options
author | Dennis Kobert <d-kobert@web.de> | 2019-05-16 01:10:10 +0200 |
---|---|---|
committer | Dennis Kobert <d-kobert@web.de> | 2019-05-16 01:10:10 +0200 |
commit | 91fc989eea5ee16c2f000064b5c040a6fe6f23b9 (patch) | |
tree | 2cb29d1bc191cbba9aab216620a4a644b1f6d806 /DSACore/Models/Database/Weapon.cs | |
parent | 6d988d13f7fc1652e2d041cfd1c4b40dce6a8adb (diff) |
Implement tokens
Diffstat (limited to 'DSACore/Models/Database/Weapon.cs')
-rw-r--r-- | DSACore/Models/Database/Weapon.cs | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/DSACore/Models/Database/Weapon.cs b/DSACore/Models/Database/Weapon.cs deleted file mode 100644 index b2f8a1e..0000000 --- a/DSACore/Models/Database/Weapon.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace DSACore.Models.Database -{ - public class Weapon - { - public Weapon() - { - } - - public Weapon(string name, string damage, int weight, string weaponTalent, string price) - { - Name = name ?? throw new ArgumentNullException(nameof(name)); - Damage = damage ?? throw new ArgumentNullException(nameof(damage)); - Weight = weight; - WeaponTalent = weaponTalent ?? throw new ArgumentNullException(nameof(weaponTalent)); - Price = price; - } - - public string Name { get; set; } - public string Damage { get; set; } - public int Weight { get; set; } - public string WeaponTalent { get; set; } - public string Price { get; set; } - } - - public class MeleeWeapon : Weapon - { - public string TpKK { get; set; } - public int INI { get; set; } - public string MW { get; set; } - - public MeleeWeapon(string name, string damage, int weight, string weaponTalent, string price) : base(name, damage, weight, weaponTalent, price) - { - } - } - - public class RangedWeapon : Weapon - { - public int AtMod { get; set; } - public int KKMod { get; set; } - public string AtReach { get; set; } - public string TpReach { get; set; } - public int LoadTime { get; set; } - - public RangedWeapon(string name, string damage, int weight, string weaponTalent, string price) : base(name, damage, weight, weaponTalent, price) - { - } - } -} |