public boolean checkCollisions(long actor) {
        timesChecked++;
        GameActor a1 = mainLogic.getActor(actor);
        if(a1 == null || !a1.isEnabled()) {
            return false;
        }
        
        StatusComponent sc1 = (StatusComponent)a1.getComponent("StatusComponent");
        for(GameActor a2 : mainLogic.getActors()) {
            if(a2.isEnabled()) {
                StatusComponent sc2 = (StatusComponent)a2.getComponent("StatusComponent");

                // no friendly fire
                if(!sc1.getAllegiance().equals(sc2.getAllegiance())) {
                    GameActor proj = null;
                    GameActor other = null;

                    if(sc1.getType().equals("projectile") && !sc2.getType().equals("projectile")) {
                        proj = a1;
                        other = a2;
                    }
                    else if(!sc1.getType().equals("projectile") && sc2.getType().equals("projectile")) {
                        proj = a2;
                        other = a1;
                    }

                    checkProjectileCollision(proj, other);
                }
            }
        }
        
        return false;
    }