public override void draw(DrawContext display, Point pt, int heightCutDiff) { TwoDimStructure o = (TwoDimStructure)owner; if (heightCutDiff < 0 || heightCutDiff >= o.type.height) { o.sprites[x, y].draw(display.surface, pt); } else { ResourceUtil.emptyChip.drawShape(display.surface, pt, o.heightCutColor); } }
protected internal SimpleStructureVoxel(TwoDimStructure _owner, byte _x, byte _y, Location _loc) : base(_owner, _loc) { this.x = _x; this.y = _y; }