feat: Player & Camera
This commit is contained in:
10
Assets/_Content/Scripts/Combat/IDamageable.cs
Normal file
10
Assets/_Content/Scripts/Combat/IDamageable.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Arena.Combat
|
||||
{
|
||||
/// <summary>
|
||||
/// Anything that can receive damage: player, enemy, destructible object.
|
||||
/// </summary>
|
||||
public interface IDamageable
|
||||
{
|
||||
void TakeDamage(int amount);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user