online multiplayer chess game (note server currently down)
Diffstat (limited to 'pieces/Bishop.gd')
| -rw-r--r-- | pieces/Bishop.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pieces/Bishop.gd b/pieces/Bishop.gd index 91b5b7d..ad2a3c8 100644 --- a/pieces/Bishop.gd +++ b/pieces/Bishop.gd @@ -2,5 +2,5 @@ extends Piece class_name Bishop, "res://assets/pieces/california/wB.png" -func get_moves() -> Array: - return traverse(all_dirs().slice(4, 8)) +func get_moves(no_enemys = false, check_spots_check = true) -> Array: + return traverse(all_dirs().slice(4, 8), no_enemys, check_spots_check) |