Skip to content

Commit cdc47e7

Browse files
committed
fix: fix issue with music
1 parent 7a77681 commit cdc47e7

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

src/main/java/tbooop/view/RoomRenderer.java

-7
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,12 @@ private void addTooltip() {
9595

9696
private void onRoomSwap(final RoomUnmodifiable newRoom) {
9797
updateTooltipVisibility(newRoom);
98-
playRoomMusic(newRoom);
9998
}
10099

101100
private void updateTooltipVisibility(final RoomUnmodifiable newRoom) {
102101
COMMANDS_TOOLTIP.setVisible(newRoom.isFirstRoom());
103102
}
104103

105-
private void playRoomMusic(final RoomUnmodifiable newRoom) {
106-
if (newRoom.isSpecial()) {
107-
return;
108-
}
109-
}
110-
111104
private void rotateDoor(final ImageView imgView, final CardinalDirection dir) {
112105
switch (dir) {
113106
case DOWN -> imgView.setRotate(180);

src/main/resources/music/floor.mp3

-3.99 MB
Binary file not shown.
-2.44 MB
Binary file not shown.

0 commit comments

Comments
 (0)