From b553f2e9b708253976018457629207ce765fc773 Mon Sep 17 00:00:00 2001 From: ktyl Date: Wed, 31 Aug 2022 20:25:52 +0100 Subject: [PATCH] move train stuff into folders --- scenes/Main.tscn | 4 ++-- scenes/{ => trains}/Bogie.tscn | 0 scenes/{ => trains}/Rail.tscn | 0 scenes/{ => trains}/Railway.tscn | 2 +- scenes/{ => trains}/Train.tscn | 4 ++-- scenes/{ => trains}/TrainCar.tscn | 4 ++-- scripts/{ => trains}/Railway.cs | 0 scripts/{ => trains}/Train.cs | 0 scripts/{ => trains}/TrainCar.cs | 0 9 files changed, 7 insertions(+), 7 deletions(-) rename scenes/{ => trains}/Bogie.tscn (100%) rename scenes/{ => trains}/Rail.tscn (100%) rename scenes/{ => trains}/Railway.tscn (96%) rename scenes/{ => trains}/Train.tscn (55%) rename scenes/{ => trains}/TrainCar.tscn (79%) rename scripts/{ => trains}/Railway.cs (100%) rename scripts/{ => trains}/Train.cs (100%) rename scripts/{ => trains}/TrainCar.cs (100%) diff --git a/scenes/Main.tscn b/scenes/Main.tscn index 80a9bc9..864c06a 100644 --- a/scenes/Main.tscn +++ b/scenes/Main.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=4 format=2] -[ext_resource path="res://scenes/Train.tscn" type="PackedScene" id=1] -[ext_resource path="res://scenes/Railway.tscn" type="PackedScene" id=2] +[ext_resource path="res://scenes/trains/Train.tscn" type="PackedScene" id=1] +[ext_resource path="res://scenes/trains/Railway.tscn" type="PackedScene" id=2] [ext_resource path="res://scenes/OrbitCamera.tscn" type="PackedScene" id=3] [node name="Main" type="Node2D"] diff --git a/scenes/Bogie.tscn b/scenes/trains/Bogie.tscn similarity index 100% rename from scenes/Bogie.tscn rename to scenes/trains/Bogie.tscn diff --git a/scenes/Rail.tscn b/scenes/trains/Rail.tscn similarity index 100% rename from scenes/Rail.tscn rename to scenes/trains/Rail.tscn diff --git a/scenes/Railway.tscn b/scenes/trains/Railway.tscn similarity index 96% rename from scenes/Railway.tscn rename to scenes/trains/Railway.tscn index 15a5b52..49d883d 100644 --- a/scenes/Railway.tscn +++ b/scenes/trains/Railway.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=3 format=2] -[ext_resource path="res://scripts/Railway.cs" type="Script" id=1] +[ext_resource path="res://scripts/trains/Railway.cs" type="Script" id=1] [sub_resource type="Curve3D" id=1] bake_interval = 0.01 diff --git a/scenes/Train.tscn b/scenes/trains/Train.tscn similarity index 55% rename from scenes/Train.tscn rename to scenes/trains/Train.tscn index 379b636..ec381b5 100644 --- a/scenes/Train.tscn +++ b/scenes/trains/Train.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=3 format=2] -[ext_resource path="res://scripts/Train.cs" type="Script" id=1] -[ext_resource path="res://scenes/TrainCar.tscn" type="PackedScene" id=2] +[ext_resource path="res://scripts/trains/Train.cs" type="Script" id=1] +[ext_resource path="res://scenes/trains/TrainCar.tscn" type="PackedScene" id=2] [node name="Train" type="Spatial"] script = ExtResource( 1 ) diff --git a/scenes/TrainCar.tscn b/scenes/trains/TrainCar.tscn similarity index 79% rename from scenes/TrainCar.tscn rename to scenes/trains/TrainCar.tscn index be6303d..470238e 100644 --- a/scenes/TrainCar.tscn +++ b/scenes/trains/TrainCar.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=3 format=2] -[ext_resource path="res://scripts/TrainCar.cs" type="Script" id=1] -[ext_resource path="res://scenes/Bogie.tscn" type="PackedScene" id=2] +[ext_resource path="res://scripts/trains/TrainCar.cs" type="Script" id=1] +[ext_resource path="res://scenes/trains/Bogie.tscn" type="PackedScene" id=2] [node name="Train Car" type="Spatial"] script = ExtResource( 1 ) diff --git a/scripts/Railway.cs b/scripts/trains/Railway.cs similarity index 100% rename from scripts/Railway.cs rename to scripts/trains/Railway.cs diff --git a/scripts/Train.cs b/scripts/trains/Train.cs similarity index 100% rename from scripts/Train.cs rename to scripts/trains/Train.cs diff --git a/scripts/TrainCar.cs b/scripts/trains/TrainCar.cs similarity index 100% rename from scripts/TrainCar.cs rename to scripts/trains/TrainCar.cs