This commit is contained in:
Anuken
2020-12-28 14:51:50 -05:00
parent db40f154c5
commit 98e6303765
2 changed files with 6 additions and 0 deletions

View File

@@ -63,6 +63,11 @@ public class RailBulletType extends BulletType{
}
}
@Override
public boolean testCollision(Bullet bullet, Building tile){
return bullet.team != tile.team;
}
@Override
public void hitEntity(Bullet b, Hitboxc entity, float initialHealth){
handle(b, entity, initialHealth);