Sounds
This commit is contained in:
parent
65bcbfa64f
commit
34fbd7f67e
3 changed files with 3 additions and 1 deletions
1
GameSettings.txt
Normal file
1
GameSettings.txt
Normal file
|
@ -0,0 +1 @@
|
|||
{"IsFullScreen":false,"MainVolume":1.0,"MusicVolume":1.0,"SoundEffectsVolume":1.0,"Resolution":{"X":1440,"Y":900}}
|
|
@ -20,7 +20,7 @@ namespace ZoFo.GameCore.GameManagers
|
|||
|
||||
public void LoadSounds() // метод для загрузки звуков из папки
|
||||
{
|
||||
var k = Directory.GetFiles("../../..//Content//sounds").Where(x => x.EndsWith("wav"));
|
||||
var k = Directory.GetFiles("../../..//Content/sounds").Where(x => x.EndsWith("wav"));
|
||||
|
||||
if (k.Count() > 0)
|
||||
{
|
||||
|
|
1
ZoFo/GameSettings.txt
Normal file
1
ZoFo/GameSettings.txt
Normal file
|
@ -0,0 +1 @@
|
|||
{"IsFullScreen":false,"MainVolume":1.0,"MusicVolume":1.0,"SoundEffectsVolume":1.0,"Resolution":{"X":1440,"Y":900}}
|
Loading…
Add table
Reference in a new issue