display resource renamed to entity resource

This commit is contained in:
Rendo 2025-07-25 18:07:10 +05:00
commit cea648f0ff
8 changed files with 13 additions and 13 deletions

View file

@ -7,7 +7,7 @@ namespace Newlon.Components.Level;
public partial class PlantField : Node2D
{
private Node2D _plantSetter;
private DisplayResource _resource;
private EntityResource _resource;
private Seedpacket _slot;
private bool _previousCanPlace;
private ChannelPlayer player;
@ -21,7 +21,7 @@ public partial class PlantField : Node2D
player = GetNode<ChannelPlayer>("PlantPlayer");
}
public void SetPlant(Seedpacket slot, DisplayResource resource)
public void SetPlant(Seedpacket slot, EntityResource resource)
{
_resource = resource;
_slot = slot;