protected override void EditCell(IHexCell cell) { if (IsPainting && ModLogic.CanChangeShapeOfCell(cell, ActiveShape)) { ModLogic.ChangeShapeOfCell(cell, ActiveShape); } }
private bool CandidateFilter(IHexCell cell) { return(cell.Shape == CellShape.Hills && ModLogic.CanChangeShapeOfCell(cell, CellShape.Mountains) && !NodeLocationCanon.GetPossessionsOfOwner(cell).Any()); }