public static ulong GetZobristCastleling(this CastlelingRights index) => ZobristCastling[index.AsInt()];
internal static ulong Castle(CastlelingRights rights) { return(castle[rights.AsInt()]); }
public static ulong GetZobristCastleling(this CastlelingRights index) => ZobristCastling[index.AsInt()];
internal static ulong Castle(CastlelingRights rights) { return(castle[rights.AsInt()]); }