full turns

This commit is contained in:
reisenlol 2026-01-11 04:22:09 -08:00
parent 7bd61df481
commit 6ff1531662
No known key found for this signature in database
15 changed files with 879 additions and 100 deletions

View file

@ -24,6 +24,7 @@ public class Entity : MonoBehaviour
{
OnKillEffects();
}
Debug.Log($"{name} took {damage} damage");
}
public void Heal(float healing)
@ -37,6 +38,11 @@ public class Entity : MonoBehaviour
}
protected virtual void FinishedMovement()
{
currentTile.hasUnit = this;
}
public virtual IEnumerator MoveToLocation(TileObject[] pathToMove)
{
float currentState = 0;
@ -53,5 +59,6 @@ public class Entity : MonoBehaviour
}
yield return null;
}
FinishedMovement();
}
}