started building logics for enemy
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
public interface IReloadableWeapon
|
||||
{
|
||||
bool canAttack { get; }
|
||||
bool isReloading { get; set; }
|
||||
int AmmoCount { get; }
|
||||
int initialAmmoCount { get; }
|
||||
void Reload();
|
||||
void Attack();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8e1f1c00d28297145ae2503fa9cda9c4
|
||||
@@ -1,15 +0,0 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
public interface IWeapon
|
||||
{
|
||||
public void Attack();
|
||||
public void Reload();
|
||||
bool canAttack { get; }
|
||||
string WeaponName { get; }
|
||||
public int AmmoCount { get; }
|
||||
public int maxAmmoCount { get; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9f82b92b1e5608845a9706ad20b155f8
|
||||
Reference in New Issue
Block a user