Files
Voile/Source/Resources/SoundLoader.cs

15 lines
343 B
C#

namespace DaggerFramework
{
public class SoundLoader : ResourceLoader
{
public override Resource Load(string path)
{
// TODO
// var data = File.ReadAllBytes(path);
var sound = new Sound(Array.Empty<byte>());
sound.Path = path;
return sound;
}
}
}