Created
November 5, 2019 00:27
-
-
Save awhiskin/f050f5129dfce23cbe71d45068511b42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace Entities | |
{ | |
public interface IEntityHealth | |
{ | |
void TakeDamage(float amount, DamageType type); | |
void AddHealth(float amount); | |
void Die(DamageType type); | |
bool IsAlive(); | |
float GetMaxHealth(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment