Sounds
This commit is contained in:
parent
4d67061a2b
commit
9107490279
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace DangerousD.GameCore.Graphics
|
|||
public void LoadAnimations()
|
||||
{
|
||||
Animations = new List<AnimationContainer>();
|
||||
string[] animationFilesNames = Directory.GetFiles("../../../Content/Textures/Animations");
|
||||
string[] animationFilesNames = Directory.GetFiles("Content/Textures/Animations");
|
||||
|
||||
StreamReader reader;
|
||||
foreach (var fileName in animationFilesNames)
|
||||
|
|
Loading…
Add table
Reference in a new issue