// *** INITIALIZATION *** // #region AddPieceTypes public override void AddPieceTypes() { base.AddPieceTypes(); // The Elephant gets the added abtility to move as Ferz Ferz.AddMoves(Elephant); Elephant.PreferredImage = "Elephant Ferz"; Elephant.MidgameValue = 400; Elephant.EndgameValue = 400; // The General gets the added ability to move as Wazir Wazir.AddMoves(General); General.MidgameValue = 400; General.EndgameValue = 400; }
public override void AddPieceTypes() { base.AddPieceTypes(); AddPieceType(Wizard = new Wizard("Wizard", "W", 460, 460)); AddPieceType(Lion = new Lion("Lion", "L", 475, 475)); // Add the Wazir-move to the Knight Wazir.AddMoves(Knight); Knight.MidgameValue = 475; Knight.EndgameValue = 475; Knight.PreferredImage = "Knight Wazir"; // Set the name for the Chancellor (called Marshall in Grand Chess) Marshall.Name = "Chancellor"; Marshall.SetNotation("C"); // Set the name for the Archbishop (called a Cardinal in Grand Chess) Cardinal.Name = "Archbishop"; Cardinal.SetNotation("A"); }
public static new void AddMoves(PieceType type) { Knight.AddMoves(type); Wazir.AddMoves(type); Dabbabah.AddMoves(type); }
public static new void AddMoves(PieceType type) { Bishop.AddMoves(type); Wazir.AddMoves(type); }
public static new void AddMoves(PieceType type) { Wazir.AddMoves(type); Dabbabah.AddMoves(type); Elephant.AddMoves(type); }
public static new void AddMoves(PieceType type) { Wazir.AddMoves(type); Tribbabah.AddMoves(type); }