diff --git a/HeatUp/src/de/heatup/ui/StatusPanelAdder.java b/HeatUp/src/de/heatup/ui/StatusPanelAdder.java index 022dc97..e74aebd 100644 --- a/HeatUp/src/de/heatup/ui/StatusPanelAdder.java +++ b/HeatUp/src/de/heatup/ui/StatusPanelAdder.java @@ -21,7 +21,7 @@ import de.heatup.ui.statusPanel.Timer; public class StatusPanelAdder{ private static JPanel panel; - private static int hgap=30; + private static int hgap=32; private static int vgap=9; private static int modifier=-1; private static int temping=0; @@ -73,15 +73,24 @@ public class StatusPanelAdder{ newPanel.setLayout(new FlowLayout(FlowLayout.CENTER, hgap,5)); panel=newPanel; } + /** + * erhöht die Anzahl Manipulationen + */ public static void addManipulations(){ manipulations+=1; Score.raiseScore(25); } + /** + * + * @return anzahl Manipulationen + */ public static int getManipulations(){ return manipulations; } - + /** + * tick-Methode für das StatusPanel + */ public static void tick() { Timer.tickTimer(); timeLabel.setText(Timer.getMinuteS() + ":" + Timer.getSecondsS());