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