Interface GamePieceOp
- All Superinterfaces:
ImageOp, Op<BufferedImage>
- All Known Implementing Classes:
GamePieceOpImpl
-
Method Summary
Methods inherited from interface ImageOp
eval, getFutureImage, getFutureTile, getFutureTile, getHeight, getImage, getImage, getNumXTiles, getNumYTiles, getSize, getTile, getTile, getTileHeight, getTileIndices, getTileOp, getTileOp, getTileSize, getTileWidth, getWidthModifier and TypeMethodDescriptioneval()The image computation itself happens in this method.Submits a request for theBufferedImageproduced by this operation, and returns a reference to that request.getFutureTile(int tileX, int tileY, ImageOpObserver obs) Submits a request for tile(tileX,tileY), and returns a reference to that request.getFutureTile(Point p, ImageOpObserver obs) Submits a request for tile(tileX,tileY), and returns a reference to that request.intReturns the height of theBufferedImagewhich would be returned byImageOp.getImage().getImage()Calculates theBufferedImageproduced by this operation.getImage(ImageOpObserver obs) Calculates theBufferedImageproduced by this operation, and reports completion or failure to the specifiedImageOpObserver.intReturns the number of tiles along the x-axis.intReturns the number of tiles along the y-axis.getSize()Returns the size of theBufferedImagewhich would be returned byImageOp.getImage().getTile(int tileX, int tileY, ImageOpObserver obs) Calculates tile(tileX,tileY), and reports completion or failure to the specifiedImageOpObserver.getTile(Point p, ImageOpObserver obs) Calculates tile(p.x,p.y), and reports completion or failure to the specifiedImageOpObserver.intReturns the standard height of theBufferedImagetiles which are returned byImageOp.getTile(Point, ImageOpObserver).Point[]getTileIndices(Rectangle rect) Returns an array ofPoints representing the tiles intersecting the givenRectangle.getTileOp(int tileX, int tileY) Returns anImageOpwhich can produce the requested tile.Returns anImageOpwhich can produce the requested tile.Returns the standard size of theBufferedImagetiles which are returned byImageOp.getTile(Point, ImageOpObserver).intReturns the standard width of theBufferedImagetiles which are returned byImageOp.getTile(Point, ImageOpObserver).intgetWidth()Returns the width of theBufferedImagewhich would be returned byImageOp.getImage().