(Graphics g, int x, int y)
| 56 | protected int width; |
| 57 | |
| 58 | public void drawImage(Graphics g, int x, int y) { |
| 59 | int ho = g.getClipHeight(); |
| 60 | int wo = g.getClipWidth(); |
| 61 | int xo = g.getClipX(); |
| 62 | int yo = g.getClipY(); |
| 63 | |
| 64 | int ix = x - width * frames[currentFrame]; |
| 65 | g.clipRect(x, y, width, height); |
| 66 | g.drawImage(resImage, ix, y, Graphics.TOP|Graphics.LEFT); |
| 67 | g.setClip(xo, yo, wo, ho); |
| 68 | painted = true; |
| 69 | } |
| 70 | |
| 71 | public int getHeight() {return height;} |
| 72 | public int getWidth() {return width;} |
nothing calls this directly
no test coverage detected