Init.
This commit is contained in:
15
Source/Resources/SoundLoader.cs
Normal file
15
Source/Resources/SoundLoader.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace DaggerFramework
|
||||
{
|
||||
public class SoundLoader : ResourceLoader
|
||||
{
|
||||
public override Resource Load(string path)
|
||||
{
|
||||
// TODO
|
||||
// var data = File.ReadAllBytes(path);
|
||||
var sound = new Sound(null);
|
||||
sound.Path = path;
|
||||
|
||||
return sound;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user