25 lines
568 B
C#
25 lines
568 B
C#
using System;
|
|
using Godot;
|
|
using Godot.Collections;
|
|
|
|
[GlobalClass][Tool]
|
|
public partial class SimplaudioSettings : Resource{
|
|
[Export] public bool Shuffled { get; set; }
|
|
[Export] public Dictionary<String,bool> Sources { get; set; }
|
|
|
|
public SimplaudioSettings(){
|
|
Sources = new Dictionary<String, bool>();
|
|
}
|
|
}
|
|
|
|
public partial class Source(String SourcePath, String SourceName) : Resource
|
|
{
|
|
[Export] public String Path = SourcePath;
|
|
[Export] public String Name = SourceName;
|
|
}
|
|
|
|
public partial class SimplaudioSave : Resource{
|
|
[Export] public Source[] Sources;
|
|
|
|
}
|