(Graphics g)
| 163 | /// |
| 164 | /// true if painting succeeded. |
| 165 | public boolean paint(Graphics g) { |
| 166 | if (tileImage != null) { |
| 167 | g.drawImage(tileImage, 0, 0); |
| 168 | return true; |
| 169 | } |
| 170 | return false; |
| 171 | } |
| 172 | |
| 173 | /// Paints the tile on the Graphics Object translated to the given x, y, |
| 174 | /// This method paints the tile image if available or will call |
nothing calls this directly
no test coverage detected