diff --git a/Assets/Scripts/Interfaces/IStatModifier.cs b/Assets/Scripts/Interfaces/IStatModifier.cs new file mode 100644 index 0000000..e392372 --- /dev/null +++ b/Assets/Scripts/Interfaces/IStatModifier.cs @@ -0,0 +1,12 @@ +using Data; + +namespace Interfaces +{ + public interface IStatModifier + { + void Apply(CharacterAttributes attributes); + void Remove(CharacterAttributes attributes); + + string Description { get; } + } +} \ No newline at end of file diff --git a/Assets/Scripts/Interfaces/IStatModifier.cs.meta b/Assets/Scripts/Interfaces/IStatModifier.cs.meta new file mode 100644 index 0000000..68c2e40 --- /dev/null +++ b/Assets/Scripts/Interfaces/IStatModifier.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: d0d6b61a392341739d65e2332f73560f +timeCreated: 1752266227 \ No newline at end of file diff --git a/Assets/Scripts/Systems/CharacterWeaponsManager.cs b/Assets/Scripts/Systems/CharacterWeaponsManager.cs new file mode 100644 index 0000000..e7a395a --- /dev/null +++ b/Assets/Scripts/Systems/CharacterWeaponsManager.cs @@ -0,0 +1,12 @@ +using System.Collections.Generic; +using Sirenix.Serialization; +using UnityEngine; +using Weapons; + +namespace Systems +{ + public class CharacterWeaponsManager : MonoBehaviour + { + [OdinSerialize] private List equippedWeapons = new(); + } +} \ No newline at end of file diff --git a/Assets/Scripts/Systems/CharacterWeaponsManager.cs.meta b/Assets/Scripts/Systems/CharacterWeaponsManager.cs.meta new file mode 100644 index 0000000..3dbfced --- /dev/null +++ b/Assets/Scripts/Systems/CharacterWeaponsManager.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 359935f34c694f0dbd7cc727404824e9 +timeCreated: 1752266125 \ No newline at end of file diff --git a/Assets/Scripts/Weapons/AutoWeapon.cs b/Assets/Scripts/Weapons/AutoWeapon.cs index 1beffb3..d9d6aa3 100644 --- a/Assets/Scripts/Weapons/AutoWeapon.cs +++ b/Assets/Scripts/Weapons/AutoWeapon.cs @@ -3,7 +3,7 @@ using UnityEngine; namespace Weapons { - public class AutoWeapon : Weapon, IWeapon + public class AutoWeapon : Weapon { [SerializeField] private GameObject projectilePrefab; [SerializeField] private Transform firePoint; diff --git a/Assets/Scripts/Weapons/MeleeAttack.cs b/Assets/Scripts/Weapons/MeleeAttack.cs index 1a15509..6fdd91f 100644 --- a/Assets/Scripts/Weapons/MeleeAttack.cs +++ b/Assets/Scripts/Weapons/MeleeAttack.cs @@ -6,7 +6,7 @@ using UnityEngine; namespace Weapons { - public class MeleeAttack : Weapon, IWeapon + public class MeleeAttack : Weapon { [SerializeField] private LayerMask targetMask;