public SelectVM(HexPosition start, HexPosition end, HexPosition min, HexPosition max) { StartVM = new HexPositionVM(start, a => HasErrorUpdated(), false) { Min = min, Max = max, }; EndVM = new HexPositionVM(end, a => HasErrorUpdated(), false) { Min = min, Max = max, }; }
public GoToPositionVM(HexPosition offset, HexPosition min, HexPosition max) { OffsetVM = new HexPositionVM(offset, a => HasErrorUpdated(), false) { Min = min, Max = max, }; }