Reworked the fieldservice

This commit is contained in:
2025-04-14 18:00:10 +02:00
parent c200098f0c
commit c73d3ff370
4 changed files with 40 additions and 24 deletions
@@ -7,14 +7,15 @@ public enum FieldState
Empty = 0,
Tilled = 1,
Planted = 2,
Watered = 3
Watered = 3,
NotFound = 99
}
public partial class FieldBehaviour : Sprite3D
{
[Export] private Texture2D Tilled;
[Export] private Texture2D Watered;
[Export] private FieldState FieldState = FieldState.Empty;
[Export] public FieldState FieldState = FieldState.Empty;
public Vector2 FieldPosition;