This commit is contained in:
Anuken
2020-12-12 18:49:24 -05:00
parent d171048004
commit d6546a38c0
4 changed files with 4 additions and 4 deletions

View File

@@ -157,7 +157,7 @@ public abstract class BulletType extends Content{
return Math.max(speed * lifetime * (1f - drag), maxRange);
}
public boolean collides(Bullet bullet, Building tile){
public boolean testCollision(Bullet bullet, Building tile){
return healPercent <= 0.001f || tile.team != bullet.team || tile.healthf() < 1f;
}