示例#1
0
 internal bool LoadSound(string name, string path)
 {
     if (!Sounds.ContainsKey(name))
     {
         Sounds.Add(name, Load <SoundEffect>(path));
         return(true);
     }
     return(false);
 }