Commit ededcfb8 authored by Enteocline's avatar Enteocline
Browse files

Réinitialisation des couleurs en quittant le menu IGP

parent 481d1d6d
......@@ -204,6 +204,9 @@ public class IGPpanel extends graphics.guiSkeleton.guiPanel.GUIPanel{
private ActionListener exitButtonListener = new ActionListener() {
@Override
public void actionPerformed(ActionEvent actionEvent) {
for(int i = 0; i<nbf; i++){
prflabel[i].setBackground(GUIColorsAndFonts.buttonBackground1);
}
BehaviourHolder.getInstance().SetFollowerBehaviour(fob);
getGraphicsMaster().changeGUIStateTo(GraphicsMaster.GUIStates.MAIN_MENU);
BehaviourHolder.getInstance().GetFollowerBehaviour().PrintElements();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment