예제 #1
0
        private bool CanMoveLeft(Player player)
        {
            Vector2 position = getFieldPosition(playerActualPosition) + Vector2.left;

            return(fieldMap.CanMoveLeft(Mathf.RoundToInt(position.x), Mathf.RoundToInt(position.y)));
        }