Skip to content
Snippets Groups Projects
Commit a93d8d14 authored by Gehrung Jonas's avatar Gehrung Jonas
Browse files

ADD: Break Sound, UPDATE: ACCESS Modificator

parent 6fcd49a1
No related branches found
No related tags found
5 merge requests!74V1,!73Initial commit,!71Merge DataBase into Development,!54Update: coreMaps.json (added new maps),!45Soundeffects finally ready :) 🔊 #22
......@@ -515,7 +515,7 @@ class Player implements IEntity {
x = (entity.getMapPosX()) / scaledTileSize;
if (TileManager.tileMap[y][x] > 19) {
TileManager.tileMap[y][x] = 0;
sfx.playSoundEffectOnce(SFX.WOOD_Destruction);
//spawning item entitys
spawnItems(x * scaledTileSize, y * scaledTileSize, graphicsContext);
}
......
......@@ -24,7 +24,7 @@ public class SoundEffects {
SoundFileManager fileManager = new SoundFileManager();
private SoundFileManager fileManager = new SoundFileManager();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment