Game/Board/Coords.cs
/// <summary>
/// Finds out what row the coordinates are in with a reversed perspective
/// </summary>
/// <param name="coords"></param>
/// <param name="reversed"></param>
/// <returns></returns>
Finds out what row the coordinates are in with a reversed perspective
Finds out what row the coordinates are in with a reversed perspective
public static int Row(this Coords coords, bool reversed)
        {
            if(reversed)
                return 7 - coords.Row();
            return coords.Row();
        }
public static int Row ( this Coords coords , bool reversed ) { if ( reversed ) return 7 - coords . Row ( ) ; return coords . Row ( ) ; }
Finds out what row the coordinates are in with a reversed perspective
Finds out what row the coordinates are in with a reversed perspective
None
Coords
this
reversed
bool
None
coords
None