public void clicked(String command,Component parent){
        if(command.equalsIgnoreCase("Quit")){
            Main.m.dispose();
        }
        if(command.equalsIgnoreCase("Cyclops")){
            Main.ms.setVisible(false);
            Main.cyc.setVisible(true);
            Main.cyc.repaint();
        }
        if(command.equalsIgnoreCase("Circe")){
            Main.ms.setVisible(false);
            Main.cir.setVisible(true);
            Main.cir.repaint();
        }
        if(command.equalsIgnoreCase("Athena")){
            Main.ms.setVisible(false);
            Main.ath.setVisible(true);
            Main.ath.repaint();
        }
        if(command.equalsIgnoreCase("Lotus Eaters")){
            Main.ms.setVisible(false);
            Main.lot.setVisible(true);
            Main.lot.repaint();
        }
        if(command.equalsIgnoreCase("Scylla & Charybdis")){
            Main.ms.setVisible(false);
            Main.scy.setVisible(true);
            Main.scy.repaint();
        }
        if(command.equalsIgnoreCase("Back")){
            Main.cyc.setVisible(false);
            Main.cir.setVisible(false);
            Main.ath.setVisible(false);
            Main.lot.setVisible(false);
            Main.scy.setVisible(false);
            Main.pen.setVisible(false);
            Main.pos.setVisible(false);
            Main.ms.setVisible(true);
            Main.ms.repaint();
        }
        if(command.equalsIgnoreCase("Poseidon")){
            Main.ms.setVisible(false);
            Main.pos.setVisible(true);
            Main.pos.repaint();
        }
        if(command.equalsIgnoreCase("Penelope")){
            Main.ms.setVisible(false);
            Main.pen.setVisible(true);
            Main.pen.repaint();
        }
    }