public void spawn() {
        Bubble bubble = (Bubble) getEntity();
        if (bubble.type == BubbleType.Small) {
            level.addEntityBack(bubble);
        } else
        if (bubble.type == BubbleType.Middle) {
            if (new Random().nextBoolean()) {
                level.addEntityPop(bubble);
            } else {
                level.addEntityBack(bubble);
            }
        } else
        if (bubble.type == BubbleType.Big) {
            level.addEntityPop(bubble);
        }
        afterSpawn();
    }