Рефактор. Большое перемещение файлов
This commit is contained in:
29
scenes/cell/cell-front-rear.tscn
Normal file
29
scenes/cell/cell-front-rear.tscn
Normal file
@@ -0,0 +1,29 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://b8txs4xi722wt"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/cell/cell-front.gd" id="1_2vfsf"]
|
||||
[ext_resource type="Texture2D" uid="uid://c6yuv0b51aauw" path="res://data/фронт-задний-1.png" id="2_nlylb"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2thpi"]
|
||||
bg_color = Color(0.8, 0.533333, 0.27451, 1)
|
||||
|
||||
[node name="header" type="Control"]
|
||||
clip_contents = true
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 71.0
|
||||
offset_bottom = 21.0
|
||||
script = ExtResource("1_2vfsf")
|
||||
|
||||
[node name="label" type="Label" parent="."]
|
||||
clip_contents = true
|
||||
layout_mode = 0
|
||||
offset_right = 71.0
|
||||
offset_bottom = 21.0
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_2thpi")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(58, 11)
|
||||
texture = ExtResource("2_nlylb")
|
||||
5
scenes/cell/cell-front.gd
Normal file
5
scenes/cell/cell-front.gd
Normal file
@@ -0,0 +1,5 @@
|
||||
extends Control
|
||||
|
||||
@export var text: String = '':
|
||||
set(val): $label.set_text(val)
|
||||
get: return $label.get_text()
|
||||
29
scenes/cell/cell-front.tscn
Normal file
29
scenes/cell/cell-front.tscn
Normal file
@@ -0,0 +1,29 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bccr42bckei41"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/cell/cell-front.gd" id="1_s7c0f"]
|
||||
[ext_resource type="Texture2D" uid="uid://ysctr84e77dc" path="res://data/фронт-передний-1.png" id="2_87fw5"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2thpi"]
|
||||
bg_color = Color(0.8, 0.533333, 0.27451, 1)
|
||||
|
||||
[node name="header" type="Control"]
|
||||
clip_contents = true
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 71.0
|
||||
offset_bottom = 21.0
|
||||
script = ExtResource("1_s7c0f")
|
||||
|
||||
[node name="label" type="Label" parent="."]
|
||||
clip_contents = true
|
||||
layout_mode = 0
|
||||
offset_right = 71.0
|
||||
offset_bottom = 21.0
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_2thpi")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(16, 11)
|
||||
texture = ExtResource("2_87fw5")
|
||||
Reference in New Issue
Block a user