Removed no longer needed print statements
This commit is contained in:
@@ -42,7 +42,6 @@ public partial class InteractionArea2D : Node2D
|
||||
_label.Hide();
|
||||
EmitSignal(SignalName.InteractedTool, _id);
|
||||
EmitSignal(SignalName.Interacted);
|
||||
GD.Print("Interacted with: " + this.Name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -40,27 +40,22 @@ public partial class FieldBehaviour2D : Sprite2D
|
||||
{
|
||||
case FieldState.Empty:
|
||||
FieldState = FieldState.Empty;
|
||||
GD.Print("FieldState is Empty.");
|
||||
break;
|
||||
case FieldState.Tilled:
|
||||
FieldState = FieldState.Tilled;
|
||||
_fieldSprite.Texture = Tilled;
|
||||
_growingCollider.Visible = false;
|
||||
GD.Print("FieldState is Tilled.");
|
||||
break;
|
||||
case FieldState.Watered:
|
||||
FieldState = FieldState.Watered;
|
||||
_fieldSprite.Texture = Watered;
|
||||
_growingCollider.Visible = true;
|
||||
GD.Print("FieldState is Watered.");
|
||||
break;
|
||||
case FieldState.Planted:
|
||||
FieldState = FieldState.Planted;
|
||||
GD.Print("FieldState is Planted.");
|
||||
break;
|
||||
default:
|
||||
FieldState = FieldState.NotFound;
|
||||
GD.Print("FieldState is NotFound.");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,21 +51,18 @@ public partial class PlantBehaviour2D : Node2D
|
||||
_state = PlantState.Planted;
|
||||
_currentPlantSprite = GetRandomSprite(_seeds);
|
||||
_currentPlantSprite.Visible = true;
|
||||
GD.Print("PlantState is none.");
|
||||
break;
|
||||
case PlantState.Planted:
|
||||
_state = PlantState.SmallPlant;
|
||||
_currentPlantSprite.Visible = false;
|
||||
_currentPlantSprite = GetRandomSprite(_smallPlants);
|
||||
_currentPlantSprite.Visible = true;
|
||||
GD.Print("PlantState is planted.");
|
||||
break;
|
||||
case PlantState.SmallPlant:
|
||||
_state = PlantState.BigPlant;
|
||||
_currentPlantSprite.Visible = false;
|
||||
_currentPlantSprite = GetRandomSprite(_bigPlants);
|
||||
_currentPlantSprite.Visible = true;
|
||||
GD.Print("PlantState is Smallplant.");
|
||||
break;
|
||||
case PlantState.BigPlant:
|
||||
_state = PlantState.Ready;
|
||||
@@ -73,7 +70,6 @@ public partial class PlantBehaviour2D : Node2D
|
||||
_currentPlantSprite = GetRandomSprite(_readyPlants);
|
||||
_harvestablePlant.IsActive = true;
|
||||
_currentPlantSprite.Visible = true;
|
||||
GD.Print("PlantState is BigPlant.");
|
||||
break;
|
||||
case PlantState.Ready:
|
||||
_state = PlantState.None;
|
||||
@@ -96,7 +92,6 @@ public partial class PlantBehaviour2D : Node2D
|
||||
|
||||
public void SayMagicWord(string wordEvent)
|
||||
{
|
||||
GD.Print("Calling Dialogic event: " + wordEvent);
|
||||
if (_magicWordDialogicEventName != wordEvent)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user