move Packsack.cs to item namespace
This commit is contained in:
parent
9561b46e1b
commit
662e9b136a
|
@ -1,6 +1,6 @@
|
||||||
[gd_scene load_steps=4 format=3 uid="uid://cn10fimoem04m"]
|
[gd_scene load_steps=4 format=3 uid="uid://cn10fimoem04m"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://scripts/inventory/Packsack.cs" id="1_8ehup"]
|
[ext_resource type="Script" path="res://scripts/item/Packsack.cs" id="1_slakl"]
|
||||||
[ext_resource type="Texture2D" uid="uid://b1twcink38sh0" path="res://sprites/Player.png" id="2_e1ale"]
|
[ext_resource type="Texture2D" uid="uid://b1twcink38sh0" path="res://sprites/Player.png" id="2_e1ale"]
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xqyue"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xqyue"]
|
||||||
|
@ -9,8 +9,7 @@ size = Vector2(41, 57)
|
||||||
[node name="RigidBody2D" type="RigidBody2D"]
|
[node name="RigidBody2D" type="RigidBody2D"]
|
||||||
collision_layer = 8
|
collision_layer = 8
|
||||||
collision_mask = 38
|
collision_mask = 38
|
||||||
script = ExtResource("1_8ehup")
|
script = ExtResource("1_slakl")
|
||||||
Id = "packsack"
|
|
||||||
|
|
||||||
[node name="Player" type="Sprite2D" parent="."]
|
[node name="Player" type="Sprite2D" parent="."]
|
||||||
texture = ExtResource("2_e1ale")
|
texture = ExtResource("2_e1ale")
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
using System;
|
using ColdMint.scripts.inventory;
|
||||||
|
|
||||||
using ColdMint.scripts.debug;
|
|
||||||
using ColdMint.scripts.item;
|
|
||||||
|
|
||||||
using Godot;
|
using Godot;
|
||||||
|
|
||||||
namespace ColdMint.scripts.inventory;
|
namespace ColdMint.scripts.item;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>packsack</para>
|
/// <para>packsack</para>
|
|
@ -6,6 +6,8 @@ using ColdMint.scripts.inventory;
|
||||||
using ColdMint.scripts.item.weapon;
|
using ColdMint.scripts.item.weapon;
|
||||||
using Godot;
|
using Godot;
|
||||||
|
|
||||||
|
using Packsack = ColdMint.scripts.item.Packsack;
|
||||||
|
|
||||||
namespace ColdMint.scripts.utils;
|
namespace ColdMint.scripts.utils;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user