(Graphics g)
| 196 | } |
| 197 | |
| 198 | @Override |
| 199 | protected void drawBackground(Graphics g) { |
| 200 | super.drawBackground(g); |
| 201 | |
| 202 | if (revealPercent == 0) { return; } |
| 203 | |
| 204 | float x = 0; |
| 205 | float y = getHeight() - (totalHeight + getBottomMargin()) * revealPercent; |
| 206 | float w = getWidth(); |
| 207 | float h = totalHeight - VPrompt.HEIGHT; |
| 208 | g.drawImage(Forge.isMobileAdventureMode ? FSkinTexture.ADV_BG_TEXTURE : FSkinTexture.BG_TEXTURE, x, y, w, h); |
| 209 | g.fillRect(FScreen.getTextureOverlayColor(), x, y, w, h); |
| 210 | } |
| 211 | |
| 212 | @Override |
| 213 | public void drawOverlay(Graphics g) { |
nothing calls this directly
no test coverage detected