separated weapon class left to separate logic and implementation

This commit is contained in:
Mausham
2025-12-29 23:31:03 +05:45
parent eadfddf220
commit 37dd15d1b9
13 changed files with 211 additions and 35 deletions

View File

@@ -0,0 +1,13 @@
using UnityEngine;
namespace Darkmatter.Core
{
public interface IWeapon
{
public void Attack();
public void Reload();
bool canAttack { get; }
string WeaponName { get; }
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 9f82b92b1e5608845a9706ad20b155f8

View File

@@ -0,0 +1,9 @@
using UnityEngine;
namespace Darkmatter.Core
{
public interface IAimProvider
{
public Vector3 AimDir { get; set; }
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: ebad764a0da2b7b4d8273baf63dd5500