mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
27 lines
671 B
Text
27 lines
671 B
Text
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=1]
|
|
[ext_resource path="res://cardgame.gd" type="Script" id=3]
|
|
|
|
[node name="Cards" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
script = ExtResource( 3 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
margin_left = -172.0
|
|
margin_top = 16.0
|
|
margin_right = -16.0
|
|
margin_bottom = 47.0
|
|
custom_fonts/font = ExtResource( 1 )
|
|
text = "Draw new cards"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
[connection signal="pressed" from="Button" to="." method="redraw_all_cards"]
|