well it works

This commit is contained in:
reisenlol 2026-01-11 21:27:27 -08:00
parent 6ff1531662
commit af9b1a7448
No known key found for this signature in database
11 changed files with 563 additions and 13 deletions

View file

@ -17,7 +17,7 @@ public class Entity : MonoBehaviour
public bool canMove = true;
public bool invincible;
public void TakeDamage(float damage)
public virtual void TakeDamage(float damage)
{
health -= damage;
if (health <= 0)