From 4e9c54906b4e94fd04c6408cee1da9e420640456 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 15 Aug 2024 01:27:00 +0300 Subject: [PATCH] addClassesFromIPlayer --- ZoFo/GameCore/GameObjects/GunAttack.cs | 13 +++++++++++++ ZoFo/GameCore/GameObjects/HandAttack.cs | 13 +++++++++++++ ZoFo/GameCore/GameObjects/IPlayerWeaponAttack.cs | 1 + ZoFo/GameCore/GameObjects/LootData.cs | 1 + ZoFo/GameCore/GameObjects/SwordAttack.cs | 13 +++++++++++++ 5 files changed, 41 insertions(+) create mode 100644 ZoFo/GameCore/GameObjects/GunAttack.cs create mode 100644 ZoFo/GameCore/GameObjects/HandAttack.cs create mode 100644 ZoFo/GameCore/GameObjects/SwordAttack.cs diff --git a/ZoFo/GameCore/GameObjects/GunAttack.cs b/ZoFo/GameCore/GameObjects/GunAttack.cs new file mode 100644 index 0000000..b3a611e --- /dev/null +++ b/ZoFo/GameCore/GameObjects/GunAttack.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ZoFo.GameCore.GameObjects +{ + internal class GunAttack:IPlayerWeaponAttack + { + + } +} diff --git a/ZoFo/GameCore/GameObjects/HandAttack.cs b/ZoFo/GameCore/GameObjects/HandAttack.cs new file mode 100644 index 0000000..3d73249 --- /dev/null +++ b/ZoFo/GameCore/GameObjects/HandAttack.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ZoFo.GameCore.GameObjects +{ + internal class HandAttack:IPlayerWeaponAttack + { + + } +} diff --git a/ZoFo/GameCore/GameObjects/IPlayerWeaponAttack.cs b/ZoFo/GameCore/GameObjects/IPlayerWeaponAttack.cs index 30c945e..f47220e 100644 --- a/ZoFo/GameCore/GameObjects/IPlayerWeaponAttack.cs +++ b/ZoFo/GameCore/GameObjects/IPlayerWeaponAttack.cs @@ -8,5 +8,6 @@ namespace ZoFo.GameCore.GameObjects { internal interface IPlayerWeaponAttack { + } } diff --git a/ZoFo/GameCore/GameObjects/LootData.cs b/ZoFo/GameCore/GameObjects/LootData.cs index 162c725..93f67f1 100644 --- a/ZoFo/GameCore/GameObjects/LootData.cs +++ b/ZoFo/GameCore/GameObjects/LootData.cs @@ -8,6 +8,7 @@ namespace ZoFo.GameCore.GameObjects { internal class LootData { + public Dictionary loots; public void AddLoot(object lootObject, int quantity) { diff --git a/ZoFo/GameCore/GameObjects/SwordAttack.cs b/ZoFo/GameCore/GameObjects/SwordAttack.cs new file mode 100644 index 0000000..507ae6b --- /dev/null +++ b/ZoFo/GameCore/GameObjects/SwordAttack.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ZoFo.GameCore.GameObjects +{ + internal class SwordAttack:IPlayerWeaponAttack + { + + } +}