Update 29.10.2022
This commit is contained in:
@@ -42,6 +42,8 @@ public class IdleGame implements ActionListener {
|
||||
engine.calculate((int) (System.currentTimeMillis() - data.lastCalculationTime) / 1000);
|
||||
}else data = new Save();
|
||||
|
||||
screen.add(new MenuBar(screen.getWidth(), 50, 0, 0));
|
||||
|
||||
CommandManager.addCommand("money", new MoneyCmd());
|
||||
CommandManager.addCommand("generator", new GeneratorCmd());
|
||||
|
||||
|
||||
@@ -61,8 +61,6 @@ public class Screen extends JFrame {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
add(new MenuBar(width, 50, 0, 0));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user