You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
995 B

  1. #ifndef Koenig
  2. #define Koenig
  3. #include "Spieler.h"
  4. #include "Spielstatus.h"
  5. bool GreiftBauerAn(char** Brett, int x, int y, Player player);
  6. bool GreiftTurmAn(char** Brett, int x, int y, Player player);
  7. bool GreiftSpringerAn(char** Brett, int x, int y, Player player);
  8. bool GreiftLaeuferAn(char** Brett, int x, int y, Player player);
  9. bool GreiftDameAn(char** Brett, int x, int y, Player player);
  10. bool GreiftKoenigAn(char** Brett, int x, int y, Player player);
  11. bool istFeldUnsicher(char** Brett, int x, int y, Player player);
  12. bool istKoenigImSchach(char** Brett, Player player);
  13. bool istzugerlaubt_Koenig(char** Brett, int startX, int startY, int endX, int endY, Player player);
  14. void bewegeKoenig(char** Brett, int startX, int startY, int endX, int endY, Player player, Spielstatus* status);
  15. bool kannRochieren(char** Brett, int startX, int startY, Player player, Spielstatus* status, bool kingside);
  16. void rochiere(char** Brett, Player player, bool kingside, Spielstatus* status);
  17. #endif // Koenig