Refactoring UI and Tile logic (to allow for Hotseat/LAN/Online multiplayer)
This commit is contained in:
parent
1ed0ec226d
commit
d688eaf9c6
17 changed files with 591 additions and 17 deletions
33
UI/Table/Table.tscn
Normal file
33
UI/Table/Table.tscn
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://sj0wiqp14xy3"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bxettgjh1rv56" path="res://UI/Table/TableRow.tscn" id="1_dfhso"]
|
||||
[ext_resource type="Script" path="res://UI/Table/Table.gd" id="1_xdpje"]
|
||||
|
||||
[node name="Table" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_xdpje")
|
||||
|
||||
[node name="Rows" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="TableRow" parent="Rows" instance=ExtResource("1_dfhso")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TableRow2" parent="Rows" instance=ExtResource("1_dfhso")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TableRow3" parent="Rows" instance=ExtResource("1_dfhso")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TableRow4" parent="Rows" instance=ExtResource("1_dfhso")]
|
||||
layout_mode = 2
|
||||
Loading…
Add table
Add a link
Reference in a new issue