From 4b9191e4819a79636ba4a68b7dd9850e622ed40f Mon Sep 17 00:00:00 2001 From: jake Date: Sat, 18 Feb 2023 16:41:27 -0500 Subject: Add en passant and castling --- MoveTile.gd | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'MoveTile.gd') 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") -- cgit v1.2.3