Skip to content

Instantly share code, notes, and snippets.

@awhiskin
Created November 5, 2019 00:27
Show Gist options
  • Save awhiskin/f050f5129dfce23cbe71d45068511b42 to your computer and use it in GitHub Desktop.
Save awhiskin/f050f5129dfce23cbe71d45068511b42 to your computer and use it in GitHub Desktop.
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