Moved scripts to namespaces

This commit is contained in:
Фёдор Веселов 2024-09-29 15:06:51 +05:00
commit de2c6261b0
51 changed files with 128 additions and 29 deletions

View file

@ -1,4 +1,8 @@
using Godot;
using Newlon.Components.GUI.Seedpackets;
using Newlon.Components.Plants;
namespace Newlon.Components.Level;
public partial class PlantField : Node2D
{
@ -64,7 +68,7 @@ public partial class PlantField : Node2D
if (canPlace)
_plantSetter.GlobalPosition = expected_pos;
_plantSetter.Texture = _resource == null ? null : _resource.Preview;
_plantSetter.Texture = _resource?.Preview;
}
public override void _UnhandledInput(InputEvent @event)