oh-my-git/cardgame.tscn
2020-10-14 01:02:30 +02:00

43 lines
1.2 KiB
Text

[gd_scene load_steps=5 format=2]
[ext_resource path="res://drop_area.tscn" type="PackedScene" id=2]
[ext_resource path="res://repository.tscn" type="PackedScene" id=3]
[ext_resource path="res://cardgame.gd" type="Script" id=4]
[ext_resource path="res://terminal.tscn" type="PackedScene" id=5]
[node name="Cardgame" type="Node2D"]
script = ExtResource( 4 )
[node name="ColorRect" type="ColorRect" parent="."]
margin_right = 1922.0
margin_bottom = 1083.0
mouse_filter = 2
color = Color( 0.0823529, 0.0823529, 0.0823529, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Repository" parent="." instance=ExtResource( 3 )]
margin_right = 1481.0
margin_bottom = 592.0
simplified_view = true
[node name="DropArea" parent="." instance=ExtResource( 2 )]
[node name="Terminal" parent="." instance=ExtResource( 5 )]
margin_left = 1488.0
margin_top = 5.0
margin_right = 1914.0
margin_bottom = 586.0
[node name="Button" type="Button" parent="."]
margin_left = 1726.67
margin_top = 1021.41
margin_right = 1899.67
margin_bottom = 1063.41
text = "redraw cards"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="command_done" from="Terminal" to="." method="_update_repo"]
[connection signal="pressed" from="Button" to="." method="redraw_all_cards"]