Fix: EnemyProjectile wird auch am rechten bildschirmrand gelöscht
This commit is contained in:
Binary file not shown.
@@ -26,7 +26,7 @@ public class EnemyProjectile extends Projectile
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
//Check X-Value
|
//Check X-Value
|
||||||
if (getX() <= 0 || getX() >= getWorld().getHeight()-1){
|
if (getX() <= 0 || getX() >= getWorld().getWidth()-1){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user