public WaterField(int width, int height, PipeGrid pipeGrid) { Width = width; Height = height; Reset(); PipeGrid = pipeGrid; }
public WaterCell(int x, int y, PipeGrid pipeGrid) { X = x; Y = y; Volume = 0; LastDistributedToLeft = false; PipeGrid = pipeGrid; }
public Level(int id, PipeGrid pipeGrid, WaterCell initCell) { Id = id; Cells = new List <WaterCell>(); UpCells = new List <WaterCell>(); PipeGrid = pipeGrid; UpCellsFilled = false; InitCell = initCell; }