Initial commit
This commit is contained in:
commit
c266d22f58
85 changed files with 1649 additions and 0 deletions
11
scripts/components/IEntity.cs
Normal file
11
scripts/components/IEntity.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
//
|
||||
// Base interface for entities
|
||||
//
|
||||
public interface IEntity
|
||||
{
|
||||
public int Hp { get; }
|
||||
public int MaxHp { get; }
|
||||
public int Line { get; }
|
||||
public void TakeDamage(int amount);
|
||||
public void Heal(int amount);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue