public void Move() { if (!_isMoving) { if (Input.GetMouseButtonDown(0)) { var mousePos = _mouse.GetMousePos(this); var validPositions = _gameMap.GetValidMovePositions(this); if (validPositions.Contains(mousePos)) { var currentDir = _playerMovement.GetDirection(this); _spriteRenderer.RenderDirection(this, currentDir); StartCoroutine(_playerMovement.Move(this)); UseMoveTurn(); } } } }