WIP Wasserstand UI

This commit is contained in:
2025-07-05 17:34:03 +02:00
parent 57896e37df
commit 35c7e9a25e
24 changed files with 369 additions and 46 deletions
@@ -0,0 +1,29 @@
namespace Babushka.scripts.CSharp.Common.Farming;
public static class WateringCanState
{
private static int _fillstate = 0;
public const int MAX_FILLSTATE = 6;
public static void Fill()
{
_fillstate = MAX_FILLSTATE;
}
public static void Water()
{
if(_fillstate > 0)
_fillstate--;
}
public static void Reset()
{
_fillstate = 0;
}
public static int GetFillState()
{
return _fillstate;
}
}