(int x, int y)
| 95 | } |
| 96 | |
| 97 | public boolean collidePoint(int x, int y) |
| 98 | { |
| 99 | if(x<0 || x>=Constants.PLANE_LENGTH) |
| 100 | return true; |
| 101 | |
| 102 | if(y<0 || y>=Constants.PLANE_HEIGHT) |
| 103 | return true; |
| 104 | |
| 105 | if(terrain.getRGB(x, y) != -1) |
| 106 | return true; |
| 107 | |
| 108 | return false; |
| 109 | } |
| 110 | |
| 111 | public void setExplosion(int x, int y, int radius) |
| 112 | { |
no outgoing calls
no test coverage detected