started adding enemy factory
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
using UnityEngine;
|
||||
using System;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
public interface IDamageable
|
||||
{
|
||||
event Action<float> OnHealthDecreased;
|
||||
float Health { get; set; }
|
||||
void TakeDamage(float damage);
|
||||
void Die();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user