protected void initShape(int shnum, ShapeFiles file) { shapeFile = file == null ? ShapeFiles.GUMPS_VGA : file; frameNum = 0; shapeNum = shnum; shape = shapeFile.getShape(shapeNum, frameNum); }
public void setFrame(int f) { frameNum = f; shape = shapeFile.getShape(shapeNum, frameNum); }