public Pieces(string n, int p, ColorPeace c, bool q) { this.Name = n; this.Position = p; this.Color = c; this.IsQueen = q; this.IsActive = true; }
public static bool IsCrow(int p, ColorPeace c) { bool res = false; RowColl rc = new RowColl(p); if (c == ColorPeace.black) { res = rc.row == 7; } else { res = rc.row == 0; } return(res); }