Exemple #1
0
 public override string GetImage()
 {
     if (Color.White == base.Color)
     {
         return(PieceManager.GetImage("Queen2.jpg", Color.White));
     }
     return(PieceManager.GetImage("Queen.jpg", Color.Black));
 }
Exemple #2
0
 public override string GetImage()
 {
     if (Color.White == base.Color)
     {
         return(PieceManager.GetImage("Bishop2.jpg", base.Color));
     }
     return(PieceManager.GetImage("Bishop.jpg", Color.Black));
 }
Exemple #3
0
 public override string GetImage()
 {
     if (Color.White == Color)
     {
         return(PieceManager.GetImage("Horse2.jpg", Color));
     }
     return(PieceManager.GetImage("Horse.jpg", Color.Black));
 }