// Near Infinity - An Infinity Engine Browser and Editor // Copyright (C) 2001 - 2005 Jon Olav Hauglid // See LICENSE.txt for license information package org.infinity.resource.wed; import java.nio.ByteBuffer; import org.infinity.resource.AbstractStruct; import org.infinity.util.io.StreamUtils; public final class ClosedPolygon extends Polygon { // WED/ClosedPolygon-specific field labels public static final String WED_POLY_CLOSED = "Closed polygon"; public ClosedPolygon() throws Exception { super(null, WED_POLY_CLOSED, StreamUtils.getByteBuffer(18), 0); } public ClosedPolygon(AbstractStruct superStruct, ByteBuffer buffer, int offset, int nr) throws Exception { super(superStruct, WED_POLY_CLOSED + " " + nr, buffer, offset); } }