player movement

This commit is contained in:
reisenlol 2026-01-04 01:44:17 -08:00
parent 01a1278465
commit 46d2b7bc95
No known key found for this signature in database
18 changed files with 1415 additions and 34 deletions

View file

@ -9,9 +9,10 @@ public class Entity : MonoBehaviour
[Header("Movement")]
public int maxMovement;
public TileObject currentTile;
[Header("Flags")]
public bool canMove;
public bool canMove = true;
public bool invincible;
public void TakeDamage(float damage)
@ -33,9 +34,4 @@ public class Entity : MonoBehaviour
{
}
private void OnMouseDown()
{
PlayerEntityMovement.instance.SelectEntity(this);
}
}