Add new meta files and interfaces for project structure
This commit is contained in:
19
Assets/Scripts/Interfaces/IDamageInflector.cs
Normal file
19
Assets/Scripts/Interfaces/IDamageInflector.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Interfaces
|
||||
{
|
||||
public interface IDamageInflector
|
||||
{
|
||||
float Damage { get; }
|
||||
GameObject Owner { get; }
|
||||
DamageType Type { get; }
|
||||
}
|
||||
|
||||
public enum DamageType
|
||||
{
|
||||
Melee,
|
||||
Ranged,
|
||||
Magic,
|
||||
True
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user