From e89eb7f15c14abdbbbf3a9d0442b5d07cb98b66d Mon Sep 17 00:00:00 2001 From: CactiChameleon9 Date: Sun, 24 Jul 2022 20:53:09 +0100 Subject: [PATCH] Rename CardView to CardContainer to reflect purpose --- Scenes/BattleScene.tscn | 2 +- UI/{CardView.gd => CardContainer.gd} | 0 UI/{CardView.tscn => CardContainer.tscn} | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename UI/{CardView.gd => CardContainer.gd} (100%) rename UI/{CardView.tscn => CardContainer.tscn} (80%) diff --git a/Scenes/BattleScene.tscn b/Scenes/BattleScene.tscn index 7930625..cc26ee0 100644 --- a/Scenes/BattleScene.tscn +++ b/Scenes/BattleScene.tscn @@ -3,7 +3,7 @@ [ext_resource path="res://icon.png" type="Texture" id=1] [ext_resource path="res://Characters/Player.tscn" type="PackedScene" id=2] [ext_resource path="res://Scenes/BattleScene.gd" type="Script" id=3] -[ext_resource path="res://UI/CardView.tscn" type="PackedScene" id=4] +[ext_resource path="res://UI/CardContainer.tscn" type="PackedScene" id=4] [ext_resource path="res://UI/DiceView.tscn" type="PackedScene" id=5] [ext_resource path="res://Assets/TestTile.png" type="Texture" id=6] [ext_resource path="res://Characters/Enemy.tscn" type="PackedScene" id=7] diff --git a/UI/CardView.gd b/UI/CardContainer.gd similarity index 100% rename from UI/CardView.gd rename to UI/CardContainer.gd diff --git a/UI/CardView.tscn b/UI/CardContainer.tscn similarity index 80% rename from UI/CardView.tscn rename to UI/CardContainer.tscn index 91ca274..e117466 100644 --- a/UI/CardView.tscn +++ b/UI/CardContainer.tscn @@ -1,8 +1,8 @@ [gd_scene load_steps=2 format=2] -[ext_resource path="res://UI/CardView.gd" type="Script" id=5] +[ext_resource path="res://UI/CardContainer.gd" type="Script" id=5] -[node name="CardView" type="Control"] +[node name="CardContainer" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 script = ExtResource( 5 )