Spawning fields works

This commit is contained in:
2025-04-06 23:13:25 +02:00
parent f08f3a7978
commit 45a58f701b
5 changed files with 62 additions and 25 deletions
@@ -12,10 +12,15 @@ public enum FieldState
public partial class FieldBehaviour : Sprite3D
{
[Export] private Texture2D Untilled;
[Export] private Texture2D Tilled;
[Export] private Texture3D Watered;
[Export] private FieldState FieldState = FieldState.Empty;
public override void _Ready()
{
Texture = Tilled;
base._Ready();
}
/// <summary>
/// Called when the player enters the field'S interaction area and presses <E>.