private void shieldCollision() { foreach (Foe baddy in baddies) { if (baddy is Dalek) { Dalek dalek = (Dalek)baddy; foreach (LaserBeam laser in dalek.DalekLove) { if (Engine2D.testShield(laser.Bbox, this.tardis.shieldBbox)) { laser.State = Status.DEAD; } } } } }