Example #1
0
        private bool CanMoveDown(Player player)
        {
            Vector2 position = getFieldPosition(playerActualPosition) + Vector2.down;

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