played cards get removed from hands and (wrongly) added to the stack
This commit is contained in:
@@ -39,6 +39,7 @@ signal connection_status_changed(new_status: ConnectionStatus)
|
||||
# This signal is messy as fuck
|
||||
signal client_order_received(client_ids: Array[String], client_ids_playing_order: Array[String], client_names: Array[String])
|
||||
|
||||
signal client_played_card(client_id: String, card_id: int)
|
||||
signal received_expected_bet(client_id: String, expected_bet: int)
|
||||
signal new_round_started()
|
||||
signal cards_received(cards: Dictionary)
|
||||
@@ -159,6 +160,7 @@ func _handle_response(response: String) -> void:
|
||||
notify_play_card_request.emit.call_deferred()
|
||||
"play_card":
|
||||
print(data)
|
||||
#client_played_card.emit.call_deferred(data["client_id"], data["played_card"])
|
||||
"determine_play_winner_request": # single card go-around
|
||||
received_play_winner_request.emit.call_deferred()
|
||||
"end_game_request":
|
||||
|
||||
Reference in New Issue
Block a user