public override void addHeight(short height) { short oldHeight = getHeight(); _height = GeoEngine.getGeoHeightOfHeight((short)(_height + height)); getBlock().updateMinMaxHeight(_height, oldHeight); // if (FrameMain.getInstance().isSelectedGeoCell(this)) { FrameMain.getInstance().setSelectedGeoCell(this); } }
public GeoCellFlat(GeoBlockFlat block, short height) : base(block) { _height = GeoEngine.getGeoHeightOfHeight(height); }