예제 #1
0
        private bool CanMoveRight(Player player)
        {
            Vector2 position = getFieldPosition(playerActualPosition);

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