added reload animation and bullet limit
This commit is contained in:
8
Assets/Darkmatter/Code/Core/Contracts/Others.meta
Normal file
8
Assets/Darkmatter/Code/Core/Contracts/Others.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 29db8f30e6e4e7e46836335e6946c6bd
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
10
Assets/Darkmatter/Code/Core/Contracts/Others/IDamageable.cs
Normal file
10
Assets/Darkmatter/Code/Core/Contracts/Others/IDamageable.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
public interface IDamageable
|
||||
{
|
||||
void TakeDamage(float damage);
|
||||
void Die();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3cd1959707bc9f64c9fedf29ea9fb1b7
|
||||
@@ -4,6 +4,7 @@ namespace Darkmatter.Core
|
||||
{
|
||||
public interface IPlayerAnim : IHumonoidAnim
|
||||
{
|
||||
void PlayReloadAnim();
|
||||
void PlayShootAnim();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
public interface ICameraService
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9ec6d1036e8f7a34b88dc6c49fae0666
|
||||
@@ -6,6 +6,7 @@ namespace Darkmatter.Core
|
||||
public interface IInputReader
|
||||
{
|
||||
public event Action OnJumpPerformed;
|
||||
public event Action OnAdsCameraSwitch;
|
||||
public Vector2 moveInput { get; }
|
||||
public Vector2 lookInput { get; }
|
||||
public bool isShooting { get; }
|
||||
|
||||
Reference in New Issue
Block a user