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; } }