Code cleanup and some improvements

This commit is contained in:
jancoow
2015-05-28 12:25:42 +02:00
parent fab4ac6ce7
commit ea6895c6c1
6 changed files with 49 additions and 66 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ public class Enemy extends Person{
* @return, true = raakt, false = mis
*/
public boolean bulletHitMe(Bullet bullet){
if(circle.getBounds2D().intersectsLine(bullet.bullet)){
if(circle.getBounds2D().intersectsLine(bullet.getBullet())){
return true;
}
return false;