MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / initGui

Method initGui

src/main/java/cc/slack/ui/menu/MainMenu.java:73–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71
72
73 @Override
74 public void initGui() {
75
76 int numberOfParticles = (this.width * this.height) / particlesDensity;
77 particles.clear();
78 for (int i = 0; i < numberOfParticles; i++) {
79 particles.add(new Particle(this.width, this.height));
80 }
81
82 addButtons();
83 super.initGui();
84 }
85
86 @Override
87 protected void actionPerformedMenu(MainMenuButton buttonMenu) throws IOException {

Callers

nothing calls this directly

Calls 3

addButtonsMethod · 0.95
clearMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected