Skip to content

Commit

Permalink
Delete old code
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBigEye committed Apr 12, 2021
1 parent c6d1d23 commit 4e89c6d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions src/minicraft/screen/PauseDisplay.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
public class PauseDisplay extends Display {

public PauseDisplay() {
Sound.Heart.stop();
String upString = Game.input.getMapping("cursor-up")+ Localization.getLocalized(" and ")+Game.input.getMapping("cursor-down")+Localization.getLocalized(" to Scroll");
String selectString = Game.input.getMapping("select")+Localization.getLocalized(": Choose");

Expand Down Expand Up @@ -104,7 +103,6 @@ public void init(Display parent) {
@Override
public void tick(InputHandler input) {
super.tick(input);
Sound.Heart.stop();
if (input.getKey("pause").clicked)
Game.exitMenu();
}
Expand Down
4 changes: 0 additions & 4 deletions src/minicraft/screen/TitleDisplay.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ public void init(Display parent) {
super.init(null); // The TitleScreen never has a parent.
Renderer.readyToRenderGameplay = false;

Sound.Heart.stop();

if (random.nextInt(2) == 1) {
Sound.Intro.loop(true);
Sound.Intro2.stop();
Expand Down Expand Up @@ -182,8 +180,6 @@ public void tick(InputHandler input) {
if (count == 0) reverse = false;
}

Sound.Heart.stop();

super.tick(input);

}
Expand Down
2 changes: 0 additions & 2 deletions src/minicraft/screen/WorldEditDisplay.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ public WorldEditDisplay(Action action, String worldName) {
public void tick(InputHandler input) {
super.tick(input);

Sound.Heart.stop();

if (input.getKey("select").clicked) {
// do action
InputEntry entry;
Expand Down
1 change: 0 additions & 1 deletion src/minicraft/screen/WorldSelectDisplay.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ public void tick(InputHandler input) {
break;
}
}
Sound.Heart.stop();
}

@Override
Expand Down

0 comments on commit 4e89c6d

Please sign in to comment.