Added basic features

This commit is contained in:
2025-05-08 09:24:43 +09:00
parent 4acffb32e4
commit bee969f7ef
131 changed files with 69136 additions and 109 deletions

View File

@@ -0,0 +1,14 @@
public struct DamageData
{
public float oldHealth;
public float newHealth;
public float damageAmount;
}
public delegate void DamageEventHandler(DamageData damageData);
public interface IDamageable
{
public event DamageEventHandler OnDamageTaken;
void Damage(float damageAmount);
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 4ceb72078282f284688bc98969182b04