oh-my-git/cardgame.tscn

56 lines
1.6 KiB
Text
Raw Normal View History

[gd_scene load_steps=6 format=2]
2020-10-13 13:04:12 +02:00
[ext_resource path="res://card.tscn" type="PackedScene" id=1]
[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]
2020-10-13 13:04:12 +02:00
[node name="Cardgame" type="Node2D"]
script = ExtResource( 4 )
2020-10-13 13:04:12 +02:00
[node name="Repository" parent="." instance=ExtResource( 3 )]
margin_right = 1481.0
margin_bottom = 592.0
[node name="DropArea" parent="." instance=ExtResource( 2 )]
2020-10-13 13:04:12 +02:00
[node name="Card2" parent="." instance=ExtResource( 1 )]
2020-10-13 17:08:37 +02:00
visible = false
position = Vector2( 948.833, 814.382 )
2020-10-13 17:08:37 +02:00
command = "git commit --allow-empty -m \"$RANDOM\""
[node name="Card4" parent="." instance=ExtResource( 1 )]
visible = false
position = Vector2( 1651.83, 834.382 )
command = "touch \"file$RANDOM\""
2020-10-13 13:04:12 +02:00
[node name="Card3" parent="." instance=ExtResource( 1 )]
2020-10-13 17:08:37 +02:00
visible = false
position = Vector2( 1348, 830.017 )
2020-10-13 17:08:37 +02:00
command = "git add ."
[node name="Card" parent="." instance=ExtResource( 1 )]
2020-10-13 17:08:37 +02:00
visible = false
position = Vector2( 558.857, 824.539 )
2020-10-13 17:08:37 +02:00
arg_number = 1
command = "git checkout"
[node name="Terminal" parent="." instance=ExtResource( 5 )]
margin_left = 1488.0
margin_top = 5.0
margin_right = 1914.0
margin_bottom = 586.0
2020-10-13 18:13:42 +02:00
[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"]
2020-10-13 18:13:42 +02:00
[connection signal="pressed" from="Button" to="." method="redraw_all_cards"]