示例#1
0
 public override void AddPieceTypes()
 {
     base.AddPieceTypes();
     Cardinal.Enabled = false;
     Marshall.Name    = "Chancellor";
     Marshall.SetNotation("C");
     AddPieceType(Unicorn = new Unicorn("Unicorn", "U", 1050, 1125));
     AddPieceType(Lion    = new Lion("Lion", "L", 450, 450));
 }
示例#2
0
 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");
 }