public Client() { GlassOfWater gw = new GlassOfWater(); gw.AddWater(0); gw.AddWater(20); gw.AddWater(32); gw.AddWater(30); }
public HalfFull(int _currentState, GlassOfWater glassOfWater) { this._glassOfWater = glassOfWater; this._currentState = _currentState; Initialize(); }
public Empty(int quantity, GlassOfWater glassOfWater) { this._glassOfWater = glassOfWater; this._currentState = _currentState; Initialize(); }
public Full(int currentState, GlassOfWater glassOfWater) { this._currentState = currentState; this._glassOfWater = glassOfWater; Initialize(); }