summaryrefslogtreecommitdiff
path: root/MoveTile.gd
diff options
context:
space:
mode:
authorjake <jake@jakes-mail.top>2023-02-18 16:41:27 -0500
committerjake <jake@jakes-mail.top>2023-02-18 16:41:27 -0500
commit4b9191e4819a79636ba4a68b7dd9850e622ed40f (patch)
treef123fc5cfd5e46f97396695c3d06632cfebddac2 /MoveTile.gd
parentece682cacbb4300897239cd03cc427161788626e (diff)
Add en passant and castling
Diffstat (limited to 'MoveTile.gd')
-rw-r--r--MoveTile.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/MoveTile.gd b/MoveTile.gd
index 5ae65b5..8bc8ca4 100644
--- a/MoveTile.gd
+++ b/MoveTile.gd
@@ -5,6 +5,10 @@ signal move_clicked
const blue = Color(0.30, 0.71, 0.96, 0.54)
const red = Color(1.00, 0.00, 0.00, 0.54)
+export var en_passant_tile = false
+export var en_passant_kill_tile = false
+export var castling_rook = ""
+
func _on_Area2D_input_event(viewport, event, shape_idx):
if event.is_action_pressed("mouse1"):
emit_signal("move_clicked")