private void panelMouseClickedLD(java.awt.event.MouseEvent e) {
        if (e.getButton() == MouseEvent.BUTTON1) {
            fabric.crateLeader(e.getX(), e.getY());
        } else {
            fabric.cratePredator(e.getX(), e.getY());
        }
        ptr.repaint();
    }