Ejemplo n.º 1
0
        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);
            }
        }
Ejemplo n.º 2
0
 public GeoCellFlat(GeoBlockFlat block, short height) : base(block)
 {
     _height = GeoEngine.getGeoHeightOfHeight(height);
 }