planting / growth works again
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user