public void UpdateEditingMode() { if (editStyleCombo.changed) { editorParams.ChangeEditingMode((EditingMode)editStyleCombo.GetSelectedCycleObject()); } }
private void UpdateSnapPress() { if (snapCombo.changed) { editorParams.snap = (float)snapCombo.GetSelectedCycleObject(); } }
private void UpdateShadowSidePress() { if (editStyleCombo.changed) { editorParams.shadowSide = (ShadowSide)editStyleCombo.GetSelectedCycleObject(); SetSampleShadow(); } }
private void UpdateCombos() { compressedBuilding.usingWidth = (int)widthCombo.GetSelectedCycleObject(); compressedBuilding.usingHeight = (int)heightCombo.GetSelectedCycleObject(); compressedBuilding.isActive = (bool)activeCombo.GetSelectedCycleObject(); compressedBuilding.hasFence = (bool)hasFenceCombo.GetSelectedCycleObject(); compressedBuilding.elevation = (int)elevationCombo.GetSelectedCycleObject(); compressedBuilding.inTileShift = (int)inTileShiftCombo.GetSelectedCycleObject(); }