public void addCollision(Collision collision) {
        boolean isDuplicate = false;
        for (Collision collision1 : collisionList) {
            if (Collision.compareCollisions(collision, collision1)) {
                isDuplicate = true;
            }
        }
        if (!isDuplicate) {
            collisionList.add(collision);
        }
    }