using System.Collections.Generic; using UnityEngine; public class PlayerEntity : Entity { public bool hasMoved = false; public bool hasAttacked = false; private List moveableTiles = new(); void Start() { } // Update is called once per frame void Update() { } public void SkipTurn() { hasMoved = true; hasAttacked = true; TurnHandler.instance.UpdateTurns(); } private void OnMouseDown() { if (!hasMoved && !PlayerEntityMovement.instance.isMoving) { PlayerEntityMovement.instance.SelectEntity(this); SkipTurn(); } } }