chess moves are working; need more tests
[naja.git] / naja / gameboard.py
index 3717b564dcf0809a5ebda745f283bdfd7dd73ca8..367a9e15118b4cbd6b9fe3248a691c141f66831d 100644 (file)
@@ -130,6 +130,9 @@ class GameBoard(object):
         elif BITS[direction] == BITS.WEST:
             self.shift_location_row(-1, is_vertical=False)
 
+    def allow_chess_move(self, chesspiece):
+        self.player.allow_chess_move(chesspiece)
+
     def change_mode(self, new_mode):
         """Advance to the next mode"""
         if new_mode == self.player_mode: