(Graphics g, float x, float y, float w, float h)
| 251 | } |
| 252 | |
| 253 | @Override |
| 254 | public void draw(Graphics g, float x, float y, float w, float h) { |
| 255 | if (!isloaded) |
| 256 | load(); |
| 257 | if (hasError) |
| 258 | return; |
| 259 | if (repeat) { |
| 260 | g.drawRepeatingImage(texture, x, y, w, h); |
| 261 | } else { |
| 262 | g.drawImage(texture, x, y, w, h); |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | public void drawRotated(Graphics g, float x, float y, float w, float h, float rotation) { |
| 267 | if (!isloaded) |
no test coverage detected