planting / growth works again

remotes/checkIfPRContentChanged-1749880758504311652/farming_mechanic
kziolkowski 8 months ago
parent 38fdad7690
commit 0f8eb244e9

@ -27,4 +27,6 @@ position = Vector2(6, -161)
[node name="ReadyPlant" parent="FieldBehaviour/BasePlant" index="3"]
position = Vector2(0, -204)
[connection signal="Interacted" from="InteractionArea2" to="FieldBehaviour/BasePlant" method="Grow"]
[editable path="FieldBehaviour/BasePlant"]

@ -19,7 +19,7 @@ public partial class PlantBehaviour2D : Node2D
/// <summary>
/// Transitions the plant to its next groth stage.
/// </summary>
public void Grow()
public void Grow(int id)
{
switch (_state)
{

Loading…
Cancel
Save