func: turn
This commit is contained in:
14
scenes/player_1_play_pile.gd
Normal file
14
scenes/player_1_play_pile.gd
Normal file
@@ -0,0 +1,14 @@
|
||||
extends Pile
|
||||
|
||||
signal played
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
func play_check():
|
||||
print("waiting")
|
||||
enable_drop_zone = true
|
||||
while true:
|
||||
if get_top_cards(1) != null:
|
||||
played.emit()
|
||||
break
|
||||
Reference in New Issue
Block a user