display resource renamed to entity resource
This commit is contained in:
parent
d5573db251
commit
cea648f0ff
8 changed files with 13 additions and 13 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue