public RainBarrel(int content, BarrelSize capacity) { Content = content; Capacity = (int)capacity; }
public RainBarrel(BarrelSize size, double content = 0, string name = "Rain Barrel") { Content = content; Name = name; Size = (double)size; }
public RainBarrel(int content, BarrelSize size) { Content = Math.Max(0, content); Capacity = (int)size; }