player movement
This commit is contained in:
parent
01a1278465
commit
46d2b7bc95
18 changed files with 1415 additions and 34 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue