Пример #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);
 }
Пример #2
0
 public void setFrame(int f) {
   frameNum = f;
   shape = shapeFile.getShape(shapeNum, frameNum);
 }